Skip to content

Commit

Permalink
nc-update-nc-apps-auto: only notify if there was update
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Mar 19, 2019
1 parent 4b6572a commit f0b467b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/ncp/CONFIG/nc-update-nc-apps-auto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 3 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit f0b467b

Please sign in to comment.