From 7400a28c7fcfad2663a2d8c2d58e5b2815c172b9 Mon Sep 17 00:00:00 2001 From: Matteo Rossini Date: Sun, 1 Sep 2013 22:19:57 +0200 Subject: [PATCH] Slackpkg+ 0.9.6 released 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 --- ChangeLog.txt | 2 +- src/ChangeLog.txt | 2 +- src/zdialogplus.sh | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index cb28196..c8fa26a 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,4 +1,4 @@ -Version 20130901 - 01/Sep/2013 +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 diff --git a/src/ChangeLog.txt b/src/ChangeLog.txt index cb28196..c8fa26a 100644 --- a/src/ChangeLog.txt +++ b/src/ChangeLog.txt @@ -1,4 +1,4 @@ -Version 20130901 - 01/Sep/2013 +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 diff --git a/src/zdialogplus.sh b/src/zdialogplus.sh index 83c9494..253adbf 100755 --- a/src/zdialogplus.sh +++ b/src/zdialogplus.sh @@ -33,7 +33,8 @@ if [ "$SLACKPKGPLUS" = "on" ];then HINT="--item-help" else for i in $1; do - echo "$i \"\" $ONOFF" >>$TMPDIR/dialog.tmp + REPOPOS=$(grep " $(echo $i|sed 's/\.t.z//') " $TMPDIR/pkglist|awk '{print $1}'|sed 's/SLACKPKGPLUS_//') + echo "$i \"$REPOPOS\" $ONOFF" >>$TMPDIR/dialog.tmp done HINT="" fi