Version 0.9.6.1 - 02/Sep/2013

- fixed a bug in new dialog function (thanks to phenixia2003)
This commit is contained in:
Matteo Rossini 2013-09-02 12:12:16 +02:00
parent 7400a28c7f
commit 36e6062534
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,6 @@
Version 0.9.6.1 - 02/Sep/2013
- fixed a bug in new dialog function (thanks to phenixia2003)
Version 0.9.6 - 01/Sep/2013
- fixed a slackpkg bug that does not recreate $WORKDIR if it does not exists.
- added repository name in dialog

View file

@ -1,3 +1,6 @@
Version 0.9.6.1 - 02/Sep/2013
- fixed a bug in new dialog function (thanks to phenixia2003)
Version 0.9.6 - 01/Sep/2013
- fixed a slackpkg bug that does not recreate $WORKDIR if it does not exists.
- added repository name in dialog

View file

@ -26,14 +26,14 @@ if [ "$SLACKPKGPLUS" = "on" ];then
for i in $1; do
BASENAME=$(cutpkg $i)
PKGFOUND=$(grep -m1 -e "^${BASENAME}-[^-]\+-\(noarch\|fw\|${ARCH}\)" $TMPDIR/tmplist)
REPOPOS=$(grep " $(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_//')
echo "$i \"$REPOPOS\" $ONOFF \"currently installed: $PKGFOUND\"" >>$TMPDIR/dialog.tmp
done
HINT="--item-help"
else
for i in $1; do
REPOPOS=$(grep " $(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_//')
echo "$i \"$REPOPOS\" $ONOFF" >>$TMPDIR/dialog.tmp
done
HINT=""