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:
Diffstat (limited to 'etc/ncp-config.d/nc-autoupdate-ncp.sh')
-rw-r--r--etc/ncp-config.d/nc-autoupdate-ncp.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/ncp-config.d/nc-autoupdate-ncp.sh b/etc/ncp-config.d/nc-autoupdate-ncp.sh
index 29467f28..f11dee27 100644
--- a/etc/ncp-config.d/nc-autoupdate-ncp.sh
+++ b/etc/ncp-config.d/nc-autoupdate-ncp.sh
@@ -14,10 +14,10 @@
#
ACTIVE_=no
-NOTIFYUSER_=admin
+NOTIFYUSER_=ncp
DESCRIPTION="Automatically apply NextCloudPlus updates"
-configure()
+configure()
{
[[ $ACTIVE_ != "yes" ]] && {
rm /etc/cron.daily/ncp-autoupdate
@@ -30,7 +30,7 @@ configure()
/usr/local/bin/ncp-test-updates && {
/usr/local/bin/ncp-update
sudo -u www-data php /var/www/nextcloud/occ notification:generate \
- "$NOTIFYUSER_" "NextCloudPlus " \
+ "$NOTIFYUSER_" "NextCloudPlus" \
-l "NextCloudPlus was updated to \$( cat /usr/local/etc/ncp-version )"
}
EOF