# HG changeset patch # User Pascal Bellard # Date 1274775563 -7200 # Node ID 15b63a6ced05aa729e2d5c323d524f594fa27103 # Parent 63562a0e88a28ab3283305ce5e4ca2f38e6af842 Install implicit depends early (again) diff -r 63562a0e88a2 -r 15b63a6ced05 tazpkg --- a/tazpkg Mon May 24 22:44:41 2010 +0200 +++ b/tazpkg Tue May 25 10:19:23 2010 +0200 @@ -15,7 +15,7 @@ # Paul Issott # Rohit Joshi # -VERSION=3.2.2 +VERSION=3.2.3 #################### # Script variables # @@ -1656,10 +1656,13 @@ # Upgrade tazpkg first. It may handle new features/formats... # then upgrade essential packages early - for pkg in busybox-pam busybox glibc-base tazpkg ; do - case " $LIST " in - *\ $pkg\ *) LIST="$pkg $LIST";; - esac + for pkg in busybox-pam busybox gcc-lib-base glibc-base \ + slitaz-base-files tazpkg ; do + pkg=$(egrep $pkg-[0-9] $INSTALL_LIST) + [ -n "$pkg" ] || continue + echo "Add implicit depend $pkg ..." + LIST="$pkg +$LIST" done for pkg in $LIST