mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
nc-update-nc-apps-auto: only notify if there was update
This commit is contained in:
parent
4b6572a113
commit
f0b467ba9b
@ -28,7 +28,7 @@ ncc app:update --all -n
|
||||
echo "\$OUT" >> /var/log/ncp.log
|
||||
|
||||
APPS=\$( echo "\$OUT" | grep 'updated\$' | awk '{ print \$1 }')
|
||||
ncc notification:generate "$USER" "Apps updated" -l "\$APPS"
|
||||
[[ "\$APPS" != "" ]] && ncc notification:generate "$USER" "Apps updated" -l "\$APPS"
|
||||
EOF
|
||||
chmod 755 "$cronfile"
|
||||
echo "automatic app updates enabled"
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
|
||||
[v1.10.3](https://github.com/nextcloud/nextcloudpi/commit/925cf31) (2019-03-18) nc-update-nc: fix case where imported cfg from non docker to docker
|
||||
[v1.10.4](https://github.com/nextcloud/nextcloudpi/commit/5675383) (2019-03-18) nc-update-nc-apps-auto: only notify if there was update
|
||||
|
||||
[v1.10.3](https://github.com/nextcloud/nextcloudpi/commit/4b6572a) (2019-03-18) nc-update-nc: fix case where imported cfg from non docker to docker
|
||||
|
||||
[v1.10.2 ](https://github.com/nextcloud/nextcloudpi/commit/ec66e40) (2019-03-16) freeDNS: fix hash
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user