tazpkg rev 340

Install implicit depends early
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 24 22:44:41 2010 +0200 (2010-05-24)
parents ef1f3ec05b88
children 15b63a6ced05
files tazpkg
line diff
     1.1 --- a/tazpkg	Sun Mar 28 00:37:57 2010 +0100
     1.2 +++ b/tazpkg	Mon May 24 22:44:41 2010 +0200
     1.3 @@ -1655,9 +1655,12 @@
     1.4  		touch $2-processed
     1.5  
     1.6  		# Upgrade tazpkg first. It may handle new features/formats...
     1.7 -		case " $LIST " in
     1.8 -		*\ tazpkg\ *) LIST="tazpkg $LIST";;
     1.9 -		esac
    1.10 +		# then upgrade essential packages early
    1.11 +		for pkg in busybox-pam busybox glibc-base tazpkg ; do
    1.12 +			case " $LIST " in
    1.13 +			*\ $pkg\ *) LIST="$pkg $LIST";;
    1.14 +			esac
    1.15 +		done
    1.16  
    1.17  		for pkg in $LIST
    1.18  		do