tazpkg diff tazpkg @ rev 593

Disable multi pkg install, it's not well implemented
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 14 19:08:47 2012 +0200 (2012-04-14)
parents 51ac859600cc
children 3bcf2536dd03
line diff
     1.1 --- a/tazpkg	Thu Apr 12 20:47:36 2012 +0000
     1.2 +++ b/tazpkg	Sat Apr 14 19:08:47 2012 +0200
     1.3 @@ -1728,7 +1728,7 @@
     1.4  				search_in_installed_packages
     1.5  				search_in_packages_list ;;
     1.6  		esac ;;
     1.7 -	search-file)
     1.8 +	search-file|-sf)
     1.9  		# Search for a file by pattern or name in all files.list.
    1.10  		if [ -z "$2" ]; then
    1.11  			echo ""
    1.12 @@ -2711,14 +2711,13 @@
    1.13  		get_options
    1.14  		
    1.15  		# Install all pkgs specified in argument.
    1.16 -		for arg in $@
    1.17 -		do
    1.18 -			case $arg in
    1.19 -				-*|get-install) continue ;;
    1.20 -				*) tazpkg -gi $arg $opts ;;
    1.21 -			esac
    1.22 -		done
    1.23 -		exit 0
    1.24 +		#for arg in $@
    1.25 +		#do
    1.26 +			#case $arg in
    1.27 +				#-*|get-install) continue ;;
    1.28 +				#*) tazpkg -gi $arg $opts ;;
    1.29 +			#esac
    1.30 +		#done
    1.31  		
    1.32  		DO_CHECK=""
    1.33  		[ "$forced" ] && DO_CHECK=no