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 'update.sh')
-rwxr-xr-xupdate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index 3dd10c94..53d33298 100755
--- a/update.sh
+++ b/update.sh
@@ -189,7 +189,7 @@ check_distro "$NCPCFG" && check_distro etc/ncp.cfg || {
msg="Update to $release_new available. Get the latest container to upgrade" || \
msg="Update to $release_new available. Type 'sudo ncp-dist-upgrade' to upgrade"
echo "${msg}"
- ncc notification:generate "ncp" "New distribution available" -l "${msg}"
+ notify_admin "New distribution available" "${msg}"
wall "${msg}"
cat > /etc/update-motd.d/30ncp-dist-upgrade <<EOF
#!/bin/bash