tazpkg rev 457 4.3

remove rootconfig option from install (doesn't make sense)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Apr 06 16:15:04 2011 +0200 (2011-04-06)
parents 005867d1ffdd
children 9b76fd8285e5
files tazpkg
line diff
     1.1 --- a/tazpkg	Fri Apr 01 03:43:47 2011 +0200
     1.2 +++ b/tazpkg	Wed Apr 06 16:15:04 2011 +0200
     1.3 @@ -1751,21 +1751,11 @@
     1.4  		check_for_package_on_cmdline
     1.5  		check_for_package_file
     1.6  		
     1.7 -		get_options_list="root forced list rootconfig"
     1.8 +		get_options_list="root forced list"
     1.9  		get_options
    1.10  		
    1.11  		[ "$root" ] && ROOT="$root" && check_base_dir "$root"
    1.12  		[ "$list" ] && INSTALL_LIST="$list"
    1.13 -		if [ "$rootconfig" ]; then
    1.14 -			if [ "$root" ]; then
    1.15 -				CACHE_DIR=$root/$CACHE_DIR
    1.16 -				SAVE_CACHE_DIR=$CACHE_DIR	
    1.17 -				LOCALSTATE=$root/$LOCALSTATE
    1.18 -			else
    1.19 -				echo "rootconfig needs --root= option used." >&2
    1.20 -				exit 1
    1.21 -			fi
    1.22 -		fi	
    1.23  
    1.24  		# Get repositories priority list.
    1.25  		look_for_priority