diff options
author | Daniel Hansson <github@hanssonit.se> | 2018-09-27 22:14:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-27 22:14:25 +0300 |
commit | fd1942bc51a05df5cd47a637146725737112c04a (patch) | |
tree | 3834335c3d6c0ae84177c4b0d82aeb3c2a420551 /nextcloud_update.sh | |
parent | 69b05062abd208d080a8d9cea7b610bd78fb0f5c (diff) |
disaböe app
Diffstat (limited to 'nextcloud_update.sh')
-rw-r--r-- | nextcloud_update.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nextcloud_update.sh b/nextcloud_update.sh index 4947d3af..d1e73105 100644 --- a/nextcloud_update.sh +++ b/nextcloud_update.sh @@ -173,7 +173,6 @@ then mkdir -p $BACKUP fi - # Backup PostgreSQL if which psql > /dev/null then @@ -347,6 +346,13 @@ chown -R root:root "$BACKUP" # Set max upload in Nextcloud .htaccess configure_max_upload +# Disable support app +if [ -d $NC_APPS_PATH/support +then + occ_command app:disable support + rm -rf $NC_APPS_PATH/support +fi + # Set $THEME_NAME VALUE2="$THEME_NAME" if ! grep -Fxq "$VALUE2" "$NCPATH/config/config.php" |