Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2019-03-23 19:19:35 +0300
committernachoparker <nacho@ownyourbits.com>2019-03-23 19:19:35 +0300
commit24602646d93ab61dd13ee331e70300fd2f9a6beb (patch)
tree54a29b3330ff59715f2521e63d64e14f56031159 /update.sh
parente99662e3f042b671bb6bc1feca98c23d1f771040 (diff)
fix cron pathv1.10.5
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index 0c044344..c9e4397b 100755
--- a/update.sh
+++ b/update.sh
@@ -210,6 +210,14 @@ EOF
# update sury keys
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
+ # fix cron path
+ is_active_app nc-backup-auto && run_app nc-backup-auto
+ is_active_app nc-scan-auto && run_app nc-scan-auto
+ is_active_app nc-autoupdate-ncp && run_app nc-autoupdate-ncp
+ is_active_app nc-notify-updates && run_app nc-notify-updates
+ is_active_app nc-previews-auto && run_app nc-previews-auto
+ is_active_app nc-update-nc-apps-auto && run_app nc-update-nc-apps-auto
+
# remove redundant opcache configuration. Leave until update bug is fixed -> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815968
# Bug #416 reappeared after we moved to php7.2 and debian buster packages. (keep last)
[[ "$( ls -l /etc/php/7.2/fpm/conf.d/*-opcache.ini | wc -l )" -gt 1 ]] && rm "$( ls /etc/php/7.2/fpm/conf.d/*-opcache.ini | tail -1 )"