tazpkg diff lib/tazpkgbox/package_infos @ rev 240
Fix VERSION
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Mar 01 07:12:03 2009 +0100 (2009-03-01) |
parents | ae76cb388d71 |
children | 0a9d95c7f42b |
line diff
1.1 --- a/lib/tazpkgbox/package_infos Thu Dec 04 09:01:55 2008 +0000 1.2 +++ b/lib/tazpkgbox/package_infos Sun Mar 01 07:12:03 2009 +0100 1.3 @@ -232,6 +232,14 @@ 1.4 </tree> 1.5 1.6 <hbox>" 1.7 +[ -s /var/lib/tazpkg/installed/$PACKAGE/description.txt ] && 1.8 + PACKAGE_INFOS="$PACKAGE_INFOS 1.9 + <button> 1.10 + <label>Description</label> 1.11 + <input file icon=\"help\"></input> 1.12 + <action>xterm -T \"$PKG description (q to quit)\" $XTERM_OPTS \ 1.13 + -e \"less /var/lib/tazpkg/installed/$PKG/description.txt\"</action> 1.14 + </button>" 1.15 [ ${PKG%%-*} = get -a ! -d /var/lib/tazpkg/installed/${PKG#get-} ] && PACKAGE_INFOS="$PACKAGE_INFOS 1.16 <button> 1.17 <label>Install</label>