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 'bin/ncp/CONFIG/nc-update-nc-apps-auto.sh')
-rw-r--r--bin/ncp/CONFIG/nc-update-nc-apps-auto.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/ncp/CONFIG/nc-update-nc-apps-auto.sh b/bin/ncp/CONFIG/nc-update-nc-apps-auto.sh
index c722691c..6dd6064a 100644
--- a/bin/ncp/CONFIG/nc-update-nc-apps-auto.sh
+++ b/bin/ncp/CONFIG/nc-update-nc-apps-auto.sh
@@ -20,7 +20,9 @@ configure()
cat > "$cronfile" <<'EOF'
#!/bin/bash
-ncc app:update --all -n
+echo "[ nc-update-nc-apps-auto ]" >> /var/log/ncp.log
+echo "checking for updates..." >> /var/log/ncp.log
+ncc app:update --all -n >> /var/log/ncp.log
EOF
chmod 755 "$cronfile"
echo "automatic app updates enabled"