diff options
author | H. P. <harald.p.@xmart.de> | 2018-08-24 12:39:02 +0200 |
---|---|---|
committer | H. P. <harald.p.@xmart.de> | 2018-08-24 12:39:02 +0200 |
commit | 64d7716d3904df3034c56d5fa36d1133b7437557 (patch) | |
tree | cde638d5d2b4e7c19472b6f302cedfd4d551f174 /sbin | |
parent | e1c3f98e81814281fb0949e7839d2f0d82dacb1b (diff) | |
download | debian-scripts-64d7716d3904df3034c56d5fa36d1133b7437557.tar.bz2 |
Enabling quit again if there's no updates
Diffstat (limited to 'sbin')
-rwxr-xr-x | sbin/ln-update | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/ln-update b/sbin/ln-update index 07b46dd..dbb380e 100755 --- a/sbin/ln-update +++ b/sbin/ln-update @@ -259,10 +259,10 @@ unset IFS UPDCNT="${#UPDARR[@]}" unset UPDARR case "$UPDCNT" in -# 0|1) -# [ "$SHUTUP" -ne 1 ]&&retinf "No updates available :)" -# exit 0 -# ;; + 0|1) + [ "$SHUTUP" -ne 1 ]&&retinf "No updates available :)" + exit 0 + ;; *) [ "$SHUTUP" -ne 1 ]&&echo -e "$RETOGE" [ "$LOGDMP" -eq 1 ]&&logger -p"error" -t"$LOGTARG" "Apt database uodated." |