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 | 63d1bca76e4d |
children | 856b8c555ffe |
files | tazpkg |
line diff
1.1 --- a/tazpkg Tue Feb 02 23:40:03 2010 +0100 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