Compare commits

...

2 Commits

Author SHA1 Message Date
3075849d5a Updated rules 2023-03-27 09:41:34 +02:00
0c36b41731 Update of README 2023-02-24 09:23:04 +01:00
2 changed files with 8 additions and 3 deletions

View File

@ -15,6 +15,7 @@ sudo apt-get install build-essential fakeroot devscripts
```
git clone https://git.jurisic.org/ijurisic/nextcloud-deb.git
cd nextcloud-deb
git checkout buster
uscan
cd ../nextcloud-server-<current_version>
dch -n

10
debian/rules vendored
View File

@ -10,16 +10,20 @@ override_dh_fixperms:
dh_fixperms
mkdir -p debian/nextcloud-server/var/www/nextcloud/data
mkdir -p debian/nextcloud-server/var/www/nextcloud/updater
find debian/nextcloud-server/var/www/nextcloud -type f -print0 | xargs -0 chmod 0640
find debian/nextcloud-server/var/www/nextcloud -type d -print0 | xargs -0 chmod 0750
chmod 0644 debian/nextcloud-server/var/www/nextcloud/.htaccess
chown -R root:www-data debian/nextcloud-server/var/www/nextcloud
chown -R www-data:www-data debian/nextcloud-server/var/www/nextcloud
chown -R www-data:www-data debian/nextcloud-server/var/www/nextcloud/apps
chown -R www-data:www-data debian/nextcloud-server/var/www/nextcloud/config
chown -R www-data:www-data debian/nextcloud-server/var/www/nextcloud/data
chown -R www-data:www-data debian/nextcloud-server/var/www/nextcloud/themes
chown -R www-data:www-data debian/nextcloud-server/var/www/nextcloud/updater
chown root:www-data debian/nextcloud-server/var/www/nextcloud/.htaccess
chmod 0644 debian/nextcloud-server/var/www/nextcloud/.htaccess
chown www-data:www-data debian/nextcloud-server/var/www/nextcloud/.htaccess
chmod +x debian/nextcloud-server/var/www/nextcloud/occ
chmod +x debian/apache/occ