mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-27 09:58:34 +01:00
fix counter in install-new
This commit is contained in:
parent
169f010256
commit
49896b5b05
1 changed files with 1 additions and 1 deletions
|
@ -947,7 +947,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
|||
if [ -z "$TOPROCESS" ];then
|
||||
case "$CMD" in
|
||||
upgrade-all) TOPROCESS=$(comm -1 -2 ${TMPDIR}/lpkg ${TMPDIR}/dpkg | comm -1 -2 - ${TMPDIR}/spkg|wc -l);;
|
||||
install-new) TOPROCESS=$(awk -f /usr/libexec/slackpkg/install-new.awk ${ROOT}/${WORKDIR}/ChangeLog.txt|wc -l);;
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue