tazpkg diff tazpkg @ rev 314

tazpkg: upgrade tazpkg first (thanks DAY)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 03 11:36:27 2010 +0100 (2010-02-03)
parents 65628c55d46b
children 55f7f7389343
line diff
     1.1 --- a/tazpkg	Mon Jan 18 14:17:42 2010 +0000
     1.2 +++ b/tazpkg	Wed Feb 03 11:36:27 2010 +0100
     1.3 @@ -1620,6 +1620,12 @@
     1.4  			COMMAND=install
     1.5  		fi
     1.6  		touch $2-processed
     1.7 +
     1.8 +		# Upgrade tazpkg first. It may handle new features/formats...
     1.9 +		case " $LIST " in
    1.10 +		*\ tazpkg\ *) LIST="tazpkg $LIST";;
    1.11 +		esac
    1.12 +
    1.13  		for pkg in $LIST
    1.14  		do
    1.15  			grep -qs ^$pkg$ $2-processed && continue