tazpkg rev 192

tazpkgbox: avoid a warning during get-install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 29 15:30:15 2008 +0000 (2008-10-29)
parents f58f1abdbbe6
children 145e4d5def86
files lib/tazpkgbox/package_infos
line diff
     1.1 --- a/lib/tazpkgbox/package_infos	Wed Oct 29 15:15:35 2008 +0000
     1.2 +++ b/lib/tazpkgbox/package_infos	Wed Oct 29 15:30:15 2008 +0000
     1.3 @@ -288,9 +288,9 @@
     1.4  			<label>Get-install</label>
     1.5  			<input file icon=\"go-next\"></input>
     1.6  			<action>xterm -T \"Install $PACKAGE\" $XTERM_OPTS -e \"\
     1.7 -			if [ \$AUTO_DEPENDS != true ]; then tazpkg get-install $PACKAGE;\
     1.8 +			if [ x\$AUTO_DEPENDS != xtrue ]; then tazpkg get-install $PACKAGE;\
     1.9  			else yes y | tazpkg get-install $PACKAGE; fi; \
    1.10 -			[ \${AUTO_EXEC} = true -a $CATEGORY = non-free ] && $PACKAGE; \
    1.11 +			[ x\${AUTO_EXEC} = xtrue -a $CATEGORY = non-free ] && $PACKAGE; \
    1.12  			sleep 2\"</action>
    1.13  			<action type=\"closewindow\">MIRRORED_PACKAGE_ACTIONS</action>
    1.14  		</button>