From 0f19fac92ce349785df98cca764c69a0e3059f79 Mon Sep 17 00:00:00 2001 From: Matteo Rossini Date: Fri, 15 Jan 2016 22:45:28 +0100 Subject: [PATCH] removed tab in graylist fix --- src/slackpkgplus.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slackpkgplus.sh b/src/slackpkgplus.sh index 1bd5ace..5237e5a 100755 --- a/src/slackpkgplus.sh +++ b/src/slackpkgplus.sh @@ -1045,7 +1045,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then PKGVER=$(echo $i|rev|cut -f3 -d-|rev) ALLFOUND=$(echo $(grep " ${BASENAME} " $TMPDIR/pkglist|sed -r -e 's/SLACKPKGPLUS_//' -e 's/^([^ ]*) [^ ]* ([^ ]*) [^ ]* ([^ ]*) .*/\2-\3(\1) ,/')|sed 's/,$//') - ( echo $PKGFOUND ; grep -m1 " ${BASENAME} " $TMPDIR/pkglist ) |grep -q -Ew -f $TMPDIR/greylist && TMPONOFF="off" + ( echo $PKGFOUND ; grep -m1 " ${BASENAME} " $TMPDIR/pkglist ) |grep -q -Ew -f $TMPDIR/greylist && TMPONOFF="off" echo "$REPOPOSFULL $i \"$REPOPOS\" $TMPONOFF \"installed: $PKGFOUND --> available: $ALLFOUND\"" >>$TMPDIR/dialog.tmp.1 done @@ -1067,7 +1067,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then for i in $1; do TMPONOFF=$ONOFF REPOPOS=$(grep -m1 " $(echo $i|sed 's/\.t.z//') " $TMPDIR/pkglist|awk '{print $1}'|sed 's/SLACKPKGPLUS_//') - ( echo $i;grep -m1 " $(echo $i|sed 's/\.t.z//') " $TMPDIR/pkglist ) | grep -q -Ew -f $TMPDIR/greylist && TMPONOFF="off" + ( echo $i;grep -m1 " $(echo $i|sed 's/\.t.z//') " $TMPDIR/pkglist ) | grep -q -Ew -f $TMPDIR/greylist && TMPONOFF="off" echo "$i \"$REPOPOS\" $TMPONOFF" >>$TMPDIR/dialog.tmp done HINT=""