Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ptrommler:eiger
owncloud-complete-files
debian.rules
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File debian.rules of Package owncloud-complete-files
#!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 SHELL=/bin/bash export NAME=owncloud-complete-files export DROOT=$(CURDIR)/debian/$(NAME) # https://github.com/owncloud/core/issues/24757 export SRCDIR=/usr/src/packages/SOURCES # Caution: keep in sync with apache_conf_default export OC_DIR=/var/www/owncloud %: dh $@ override_dh_strip_nondeterminism: # https://github.com/owncloud/core/issues/24367 echo skipping dh_strip_nondeterminism override_dh_install: dh_install -Xdebian du -sh $(CURDIR)/* mkdir -p $(DROOT)/$(OC_DIR)/apps-external mkdir -p $(DROOT)/usr/share/doc/$(NAME) mkdir -p $(DROOT)/$(OC_DIR)/core/skeleton mkdir -p $(DROOT)/$(OC_DIR)/etc mkdir -p $(DROOT)/$(OC_DIR)/data mkdir -p $(DROOT)/$(OC_DIR)/assets # We must chown all apps folders, in each app, to be independant of installation order. # https://github.com/owncloud/core/issues/16132 #chown -R www-data:www-data $(DROOT)/$(OC_DIR)/themes test -f $(SRCDIR)/apache_conf_default && cp $(SRCDIR)/apache_conf_default debian/ || true install -m 644 debian/apache_conf_default $(DROOT)/usr/share/doc/$(NAME)/owncloud-config-apache.conf.default test -f $(SRCDIR)/README && cp $(SRCDIR)/README debian/ || true install -m 644 debian/README $(DROOT)/usr/share/doc/$(NAME)/README # https://github.com/owncloud/enterprise/issues/1306 install -m 664 .htaccess $(DROOT)/$(OC_DIR)/.htaccess install -m 664 .user.ini $(DROOT)/$(OC_DIR)/.user.ini ## ## https://github.com/owncloud/core/issues/22257 test -f $(SRCDIR)/disable-updatechecker.config.php && cp $(SRCDIR)/disable-updatechecker.config.php debian/ || true install -m 644 debian/disable-updatechecker.config.php $(DROOT)/$(OC_DIR)/config/ ## ls -laR override_dh_fixperms: # dh_fixperms is horribly slow. Do we have loops in the filesystem tree? dh_fixperms -X usr/share/owncloud/data -X usr/share/owncloud/config -X usr/share/owncloud/assets ### this chown times out after 8h. # chown -R --no-dereference 0:0 $(DROOT) chmod a+x $(DROOT)/$(OC_DIR)/occ # https://github.com/owncloud/core/issues/18508 # chown at the end to ensure everything is chown'ed # We must chown all apps folders, in each app, to be independant of installation order. chown www-data:www-data $(DROOT)/$(OC_DIR)/assets chown -R www-data:www-data $(DROOT)/$(OC_DIR)/apps #chown -R www-data:www-data $(DROOT)/$(OC_DIR)/themes chown -R www-data:www-data $(DROOT)/$(OC_DIR)/config # https://github.com/owncloud/core/issues/18222 chmod -R ug+rwx $(DROOT)/$(OC_DIR)/config chown -R www-data:www-data $(DROOT)/$(OC_DIR)/data chown -R www-data:www-data $(DROOT)/$(OC_DIR)/apps-external # https://github.com/owncloud/enterprise/issues/1306 chown www-data:www-data $(DROOT)/$(OC_DIR)/.htaccess chown www-data:www-data $(DROOT)/$(OC_DIR)/.user.ini chmod ug+rw $(DROOT)/$(OC_DIR)/.htaccess chmod ug+rw $(DROOT)/$(OC_DIR)/.user.ini
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor