From ab76cd5fa5a7a062687a22f1d26551b74b36c5c7 Mon Sep 17 00:00:00 2001 From: Matteo Rossini Date: Sun, 8 Mar 2020 17:26:35 +0100 Subject: [PATCH] Regression due percentage improvements --- src/slackpkgplus.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slackpkgplus.sh b/src/slackpkgplus.sh index cfe1d35..7aef212 100755 --- a/src/slackpkgplus.sh +++ b/src/slackpkgplus.sh @@ -950,8 +950,8 @@ if [ "$SLACKPKGPLUS" = "on" ];then install-new) TOPROCESS=$[$(awk -f /usr/libexec/slackpkg/install-new.awk ${ROOT}/${WORKDIR}/ChangeLog.txt|sort -u|wc -l)+7];; install|upgrade|reinstall) TOPROCESS=0 - for ARGUMENT in $(echo $INPUTLIST); do - TOPROCESS=$[$TOPROCESS+$(grep -w -- "${ARGUMENT}" ${TMPDIR}/pkglist | cut -f2 -d\ | sort -u|wc -l)] + for TMPARGUMENT in $(echo $INPUTLIST); do + TOPROCESS=$[$TOPROCESS+$(grep -w -- "${TMPARGUMENT}" ${TMPDIR}/pkglist | cut -f2 -d\ | sort -u|wc -l)] done ;; esac