File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 88# More at: https://ownyourbits.com
99#
1010
11- configure ()
11+ configure ()
1212{
1313 local cronfile=/etc/cron.daily/ncp-autoupdate-apps
1414
15- [[ " $ACTIVE " != " yes" ]] && {
15+ [[ " $ACTIVE " != " yes" ]] && {
1616 rm -f " $cronfile "
1717 echo " automatic app updates disabled"
1818 return 0
@@ -29,7 +29,8 @@ echo "checking for updates..."
2929echo "\$ OUT" >> /var/log/ncp.log
3030
3131APPS=\$ ( echo "\$ OUT" | grep 'updated\$ ' | awk '{ print \$ 1 }')
32- [[ "\$ APPS" != "" ]] && notify_admin "Apps updated" "\$ APPS"
32+ [[ "\$ APPS" == "" ]] && exit 0
33+ notify_admin "Apps updated" "\$ APPS"
3334EOF
3435 chmod 755 " $cronfile "
3536 echo " automatic app updates enabled"
Original file line number Diff line number Diff line change 11
2- [ v1.28.2] ( https://github.com/nextcloud/nextcloudpi/commit/a2e6356 ) (2020-08-02) nc-limits: adjust db size
2+ [ v1.28.3] ( https://github.com/nextcloud/nextcloudpi/commit/cb25e3f ) (2020-08-02) ncp-autoupdate-apps: dont fail cron if no updates
3+
4+ [ v1.28.2] ( https://github.com/nextcloud/nextcloudpi/commit/06017a4 ) (2020-08-02) nc-limits: adjust db size
35
46[ v1.28.1] ( https://github.com/nextcloud/nextcloudpi/commit/dda010b ) (2020-08-02) nc-ramlogs: pin version
57
You can’t perform that action at this time.
0 commit comments