tazpkg rev 182

tazpkgbox: fix auto exec (for non-free installs)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 25 10:36:42 2008 +0000 (2008-10-25)
parents 5ed034b16356
children 59355a393cda
files lib/tazpkgbox/package_infos
line diff
     1.1 --- a/lib/tazpkgbox/package_infos	Fri Oct 24 09:41:12 2008 +0000
     1.2 +++ b/lib/tazpkgbox/package_infos	Sat Oct 25 10:36:42 2008 +0000
     1.3 @@ -280,7 +280,7 @@
     1.4  			<action>xterm -T \"Install $PACKAGE\" $XTERM_OPTS -e \"\
     1.5  			if [ \$AUTO_DEPENDS != true ]; then tazpkg get-install $PACKAGE;\
     1.6  			else yes y | tazpkg get-install $PACKAGE; fi; \
     1.7 -			[ \${AUTO_EXEC}$CATEGORY = truenon-free ] && $PACKAGE; \
     1.8 +			[ \${AUTO_EXEC} = true -a $CATEGORY = non-free ] && $PACKAGE; \
     1.9  			sleep 2\"</action>
    1.10  			<action type=\"closewindow\">MIRRORED_PACKAGE_ACTIONS</action>
    1.11  		</button>