tazpkg rev 543

tazpkg-box: Use terminal to extract or install
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 29 20:25:51 2012 +0100 (2012-02-29)
parents d8750abd87bd
children feaa61126ea6
files tazpkg-box
line diff
     1.1 --- a/tazpkg-box	Wed Feb 29 15:05:31 2012 +0100
     1.2 +++ b/tazpkg-box	Wed Feb 29 20:25:51 2012 +0100
     1.3 @@ -29,8 +29,8 @@
     1.4  	# Deal with --button values
     1.5  	case $ret in
     1.6  		1) exit 0 ;;
     1.7 -		2) tazpkg extract $pkg && exit 0 ;;
     1.8 -		3) tazpkg -i $pkg --forced | tazbox out && exit 0 ;;
     1.9 +		2) terminal -e "tazpkg extract $pkg" && exit 0 ;;
    1.10 +		3) terminal -e "tazpkg -i $pkg --forced" && exit 0 ;;
    1.11  	esac
    1.12  }
    1.13