diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-05-20 14:38:16 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-05-20 14:38:16 +0300 |
commit | c97acf8a8e7aa1ba17d5f5d7379635dd82259563 (patch) | |
tree | 61fcb8dc339baa506ba6cc85fe371b5d7ad1cd9a /update.sh | |
parent | 6150ee7dff3a56fba36f13413d3ef6d2d15a4b17 (diff) |
ncp-autoupdate: dont return 0 if no updates availablev0.56.5
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -145,6 +145,18 @@ done install_script nc-restore.sh cd - &>/dev/null + F="$CONFDIR"/nc-autoupdate-ncp.sh + grep -q '^ACTIVE_=yes$' "$F" && { + cd "$CONFDIR" &>/dev/null + activate_script nc-autoupdate-ncp.sh + cd - &>/dev/null + } + F="$CONFDIR"/nc-autoupdate-nc.sh + grep -q '^ACTIVE_=yes$' "$F" && { + cd "$CONFDIR" &>/dev/null + activate_script nc-autoupdate-nc.sh + cd - &>/dev/null + } } # end - only live updates |