From b86cd8f7f147d73c5fddd38447163256efb88784 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Sat, 1 Dec 2018 17:54:00 +0800 Subject: [PATCH] updated --- pkgadd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgadd b/pkgadd index d20a043..c441aba 100755 --- a/pkgadd +++ b/pkgadd @@ -315,7 +315,7 @@ installcmd="tar --keep-directory-symlink -p -x -v -f $PKGNAME -C ${ROOT:-/} --ex rm -f $TMP_PKGINSTALL $TMP_PKGINSTALL_BKP $installcmd | while IFS=' ' read line; do count=$(( $count + 1 )) - [ "$SILENT_INSTALL" ] && echo -ne " $opr $name-$version-$release [ $(( 100*$count/$total ))% ]\r" + [ "$SILENT_INSTALL" ] && echo -ne "$opr $name-$version-$release [ $(( 100*$count/$total ))% ]\r" if [ "$line" = "${line%.*}.spkgnew" ]; then echo "$line" >> $TMP_PKGINSTALL_BKP line=${line%.*}