small bugfixes

This commit is contained in:
crater2150 2023-08-29 11:31:13 +02:00
parent 714a15f664
commit 3cb3440d80
2 changed files with 7 additions and 5 deletions

View file

@ -7,7 +7,7 @@ zparseopts -D -E l=list -list=list
if [[ -e $IDCACHE ]]; then
prev_id=$(<$IDCACHE)
fi
xbps-install -S &>/dev/null
sudo xbps-install -S &>/dev/null
updates=$(xbps-install -un 2>&1)
num_updates=$(echo -n $updates | wc -l)