tazpkg diff tazpkgbox @ rev 134
tazpkg: fix typos, spelling
author | Mike D. Smith <MikeDSmith25@gmail.com> |
---|---|
date | Sat Jul 19 06:04:38 2008 +0000 (2008-07-19) |
parents | 0217427a955e |
children | be0dfeb8dc88 |
line diff
1.1 --- a/tazpkgbox Tue Jul 15 23:33:41 2008 +0200 1.2 +++ b/tazpkgbox Sat Jul 19 06:04:38 2008 +0000 1.3 @@ -23,6 +23,7 @@ 1.4 # list and search files to load less data and have a faster start. 1.5 mkdir -p /tmp/tazpkgbox 1.6 echo "all" > /tmp/tazpkgbox/installed-category 1.7 +echo "all" > /tmp/tazpkgbox/installable-category 1.8 echo "all" > /tmp/tazpkgbox/mirrored-category 1.9 echo "" > /tmp/tazpkgbox/search-installed 1.10 echo "" > /tmp/tazpkgbox/search-mirrored 1.11 @@ -85,7 +86,7 @@ 1.12 </pixmap> 1.13 </hbox> 1.14 1.15 - <notebook labels="Installed|Mirrored|Search|Configuration"> 1.16 + <notebook labels="Installed|Installable|Mirrored|Search|Configuration"> 1.17 1.18 <vbox> 1.19 <tree> 1.20 @@ -129,7 +130,7 @@ 1.21 <button> 1.22 <label>Upgrade all</label> 1.23 <input file icon="system-software-update"></input> 1.24 - <action>xterm -T "Package upgrade" -geometry 80x16+120+120 -e "tazpkg upgrade; sleep 2"</action> 1.25 + <action>xterm -T "Package upgrade" -geometry 80x16+120+120 -e "tazpkg upgrade; sleep 2" 2>/dev/null</action> 1.26 <action>refresh:PKG</action> 1.27 <action>refresh:PKG_STATS</action> 1.28 <action>refresh:CACHE_STATS</action> 1.29 @@ -140,6 +141,56 @@ 1.30 <vbox> 1.31 <tree> 1.32 <width>620</width><height>240</height> 1.33 + <variable>GETIT</variable> 1.34 + <label>Package name|Version|Description</label> 1.35 + <input>/usr/lib/slitaz/tazpkgbox/list installable</input> 1.36 + <action>echo "$GETIT" > /tmp/tazpkgbox/pkg</action> 1.37 + <action>/usr/lib/slitaz/tazpkgbox/package_infos</action> 1.38 + <action>refresh:PKG</action> 1.39 + <action>refresh:GETIT</action> 1.40 + <action>refresh:PKG_STATS</action> 1.41 + <action>refresh:CACHE_STATS</action> 1.42 + </tree> 1.43 + <hbox> 1.44 + <text> 1.45 + <label>"Category:"</label> 1.46 + </text> 1.47 + <combobox> 1.48 + <variable>INSTALLABLE_CAT</variable> 1.49 + <item>all</item> 1.50 + <item>base-system</item> 1.51 + <item>utilities</item> 1.52 + <item>network</item> 1.53 + <item>graphics</item> 1.54 + <item>multimedia</item> 1.55 + <item>office</item> 1.56 + <item>development</item> 1.57 + <item>system-tools</item> 1.58 + <item>security</item> 1.59 + <item>games</item> 1.60 + <item>misc</item> 1.61 + <item>meta</item> 1.62 + <item>non-free</item> 1.63 + </combobox> 1.64 + <button> 1.65 + <label>List</label> 1.66 + <input file icon="reload"></input> 1.67 + <action>echo "$INSTALLABLE_CAT" > /tmp/tazpkgbox/installable-category</action> 1.68 + <action>refresh:GETIT</action> 1.69 + </button> 1.70 + <button> 1.71 + <label>Recharge list</label> 1.72 + <input file icon="system-software-update"></input> 1.73 + <action>xterm -T "Recharge" -geometry 80x16+120+120 -e "tazpkg recharge; sleep 2" 2>/dev/null</action> 1.74 + <action>refresh:GETIT</action> 1.75 + <action>refresh:PKG_STATS</action> 1.76 + </button> 1.77 + </hbox> 1.78 + </vbox> 1.79 + 1.80 + <vbox> 1.81 + <tree> 1.82 + <width>620</width><height>240</height> 1.83 <variable>GET</variable> 1.84 <label>Package name|Version|Description</label> 1.85 <input>/usr/lib/slitaz/tazpkgbox/list mirrored</input> 1.86 @@ -176,7 +227,7 @@ 1.87 <button> 1.88 <label>Recharge list</label> 1.89 <input file icon="system-software-update"></input> 1.90 - <action>xterm -T "Recharge" -geometry 80x16+120+120 -e "tazpkg recharge; sleep 2"</action> 1.91 + <action>xterm -T "Recharge" -geometry 80x16+120+120 -e "tazpkg recharge; sleep 2" 2>/dev/null</action> 1.92 <action>refresh:GET</action> 1.93 <action>refresh:PKG_STATS</action> 1.94 </button> 1.95 @@ -285,12 +336,12 @@ 1.96 <button> 1.97 <label>Quick check</label> 1.98 <input file icon="go-next"></input> 1.99 - <action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -T "Check packages (q to quit)" -geometry 80x25+120+120 -e "tazpkg check | less "</action> 1.100 + <action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -T "Check packages (q to quit)" -geometry 80x25+120+120 -e "tazpkg check | less " 2> /dev/null</action> 1.101 </button> 1.102 <button> 1.103 <label>Full check</label> 1.104 <input file icon="go-next"></input> 1.105 - <action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -T "Check packages (q to quit)" -geometry 80x25+120+120 -e "tazpkg check --full | less "</action> 1.106 + <action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -T "Check packages (q to quit)" -geometry 80x25+120+120 -e "tazpkg check --full | less " 2> /dev/null</action> 1.107 </button> 1.108 </hbox> 1.109 </frame> 1.110 @@ -300,7 +351,7 @@ 1.111 1.112 <hbox> 1.113 <text> 1.114 - <input>echo "Packages: `ls /var/lib/tazpkg/installed | wc -l` installed, `cat /var/lib/tazpkg/packages.list | wc -l` mirrored, `cat /var/lib/tazpkg/upradable-packages.list | wc -l` to upgrade "</input> 1.115 + <input>echo "Packages: `ls /var/lib/tazpkg/installed | wc -l` installed, `cat /var/lib/tazpkg/packages.list | wc -l` mirrored, `cat /var/lib/tazpkg/upradable-packages.list 2> /dev/null | wc -l` to upgrade "</input> 1.116 <variable>PKG_STATS</variable> 1.117 </text> 1.118 </hbox>