mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-27 09:58:34 +01:00
Regression due percentage improvements
This commit is contained in:
parent
49896b5b05
commit
ab76cd5fa5
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue