diff options
Diffstat (limited to 'etc/ncp-config.d/nc-autoupdate-ncp.sh')
-rw-r--r-- | etc/ncp-config.d/nc-autoupdate-ncp.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/etc/ncp-config.d/nc-autoupdate-ncp.sh b/etc/ncp-config.d/nc-autoupdate-ncp.sh index 5f1430ab..aa304cef 100644 --- a/etc/ncp-config.d/nc-autoupdate-ncp.sh +++ b/etc/ncp-config.d/nc-autoupdate-ncp.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Automatically apply NextCloudPlus updates +# Automatically apply NextCloudPi updates # # Copyleft 2017 by Ignacio Nunez Hernanz <nacho _a_t_ ownyourbits _d_o_t_ com> # GPL licensed (see end of file) * Use at your own risk! @@ -10,13 +10,13 @@ ACTIVE_=no NOTIFYUSER_=ncp -DESCRIPTION="Automatically apply NextCloudPlus updates" +DESCRIPTION="Automatically apply NextCloudPi updates" configure() { [[ $ACTIVE_ != "yes" ]] && { rm /etc/cron.daily/ncp-autoupdate - echo "automatic NextCloudPlus updates disabled" + echo "automatic NextCloudPi updates disabled" return 0 } @@ -25,12 +25,12 @@ configure() if /usr/local/bin/ncp-test-updates; then /usr/local/bin/ncp-update || exit 1 sudo -u www-data php /var/www/nextcloud/occ notification:generate \ - "$NOTIFYUSER_" "NextCloudPlus" \ - -l "NextCloudPlus was updated to \$( cat /usr/local/etc/ncp-version )" + "$NOTIFYUSER_" "NextCloudPi" \ + -l "NextCloudPi was updated to \$( cat /usr/local/etc/ncp-version )" fi EOF chmod a+x /etc/cron.daily/ncp-autoupdate - echo "automatic NextCloudPlus updates enabled" + echo "automatic NextCloudPi updates enabled" } install() { :; } |