mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-26 09:58:43 +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|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
|
||||
|
|
Loading…
Reference in a new issue