tazpkg rev 341
Install implicit depends early (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 25 10:19:23 2010 +0200 (2010-05-25) |
parents | 63562a0e88a2 |
children | 42d09a689803 |
files | tazpkg |
line diff
1.1 --- a/tazpkg Mon May 24 22:44:41 2010 +0200 1.2 +++ b/tazpkg Tue May 25 10:19:23 2010 +0200 1.3 @@ -15,7 +15,7 @@ 1.4 # Paul Issott <paul@slitaz.org> 1.5 # Rohit Joshi <jozee@slitaz.org> 1.6 # 1.7 -VERSION=3.2.2 1.8 +VERSION=3.2.3 1.9 1.10 #################### 1.11 # Script variables # 1.12 @@ -1656,10 +1656,13 @@ 1.13 1.14 # Upgrade tazpkg first. It may handle new features/formats... 1.15 # then upgrade essential packages early 1.16 - for pkg in busybox-pam busybox glibc-base tazpkg ; do 1.17 - case " $LIST " in 1.18 - *\ $pkg\ *) LIST="$pkg $LIST";; 1.19 - esac 1.20 + for pkg in busybox-pam busybox gcc-lib-base glibc-base \ 1.21 + slitaz-base-files tazpkg ; do 1.22 + pkg=$(egrep $pkg-[0-9] $INSTALL_LIST) 1.23 + [ -n "$pkg" ] || continue 1.24 + echo "Add implicit depend $pkg ..." 1.25 + LIST="$pkg 1.26 +$LIST" 1.27 done 1.28 1.29 for pkg in $LIST