Missed fix counter on 'slackpkg download' method

Thanks to chrisretusn
This commit is contained in:
Matteo Rossini 2021-01-25 16:48:52 +01:00
parent 76ce9a2281
commit 74d9d1878a

View file

@ -1503,7 +1503,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
else # other than 'upgrade' else # other than 'upgrade'
for i in $1; do for i in $1; do
printf "%10s\b\b\b\b\b\b\b\b\b\b" "[$c/$q]" printf "%11s\b\b\b\b\b\b\b\b\b\b" "[$c/$q]"
let c++ let c++
TMPONOFF=$ONOFF TMPONOFF=$ONOFF
REPOPOS=$(grep -m1 " $(echo $i|sed 's/\.t.z//') " $TMPDIR/pkglist|awk '{print $1}'|sed 's/SLACKPKGPLUS_//') REPOPOS=$(grep -m1 " $(echo $i|sed 's/\.t.z//') " $TMPDIR/pkglist|awk '{print $1}'|sed 's/SLACKPKGPLUS_//')