Removed confiles and updated postinst (thanks citronalco for sugestion)
This commit is contained in:
parent
c3626c60b3
commit
e0a0d1f61b
1
debian/conffiles
vendored
1
debian/conffiles
vendored
@ -1 +0,0 @@
|
|||||||
/var/www/nextcloud/.htaccess
|
|
1
debian/nextcloud-server.postinst
vendored
1
debian/nextcloud-server.postinst
vendored
@ -42,6 +42,7 @@ configure)
|
|||||||
echo "Nextcloud is not configured, please use open web browser http://<your_server_ip>/nextcloud"
|
echo "Nextcloud is not configured, please use open web browser http://<your_server_ip>/nextcloud"
|
||||||
echo "After configure please run su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ config:system:set --value true upgrade.disable-web'"
|
echo "After configure please run su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ config:system:set --value true upgrade.disable-web'"
|
||||||
elif [ "$(su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ status' | grep 'installed:' | cut -f2 -d ':' | xargs)" = "true" ]; then
|
elif [ "$(su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ status' | grep 'installed:' | cut -f2 -d ':' | xargs)" = "true" ]; then
|
||||||
|
su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ maintenance:update:htaccess'
|
||||||
su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ upgrade'
|
su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ upgrade'
|
||||||
su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ db:add-missing-indices'
|
su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ db:add-missing-indices'
|
||||||
su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ config:system:set --value true upgrade.disable-web' >/dev/null || true
|
su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ config:system:set --value true upgrade.disable-web' >/dev/null || true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user