git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/ln-update
diff options
context:
space:
mode:
authorH. P. <harald.p.@xmart.de> 2018-08-24 12:39:02 +0200
committerH. P. <harald.p.@xmart.de> 2018-08-24 12:39:02 +0200
commit64d7716d3904df3034c56d5fa36d1133b7437557 (patch)
treecde638d5d2b4e7c19472b6f302cedfd4d551f174 /sbin/ln-update
parente1c3f98e81814281fb0949e7839d2f0d82dacb1b (diff)
downloaddebian-scripts-64d7716d3904df3034c56d5fa36d1133b7437557.tar.bz2
Enabling quit again if there's no updates
Diffstat (limited to 'sbin/ln-update')
-rwxr-xr-xsbin/ln-update8
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."