Regression due percentage improvements

This commit is contained in:
Matteo Rossini 2020-03-08 17:26:35 +01:00
parent 49896b5b05
commit ab76cd5fa5

View file

@ -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-new) TOPROCESS=$[$(awk -f /usr/libexec/slackpkg/install-new.awk ${ROOT}/${WORKDIR}/ChangeLog.txt|sort -u|wc -l)+7];;
install|upgrade|reinstall) install|upgrade|reinstall)
TOPROCESS=0 TOPROCESS=0
for ARGUMENT in $(echo $INPUTLIST); do for TMPARGUMENT in $(echo $INPUTLIST); do
TOPROCESS=$[$TOPROCESS+$(grep -w -- "${ARGUMENT}" ${TMPDIR}/pkglist | cut -f2 -d\ | sort -u|wc -l)] TOPROCESS=$[$TOPROCESS+$(grep -w -- "${TMPARGUMENT}" ${TMPDIR}/pkglist | cut -f2 -d\ | sort -u|wc -l)]
done done
;; ;;
esac esac