tazpkg rev 449
Fix duplcated package in upgradeable-packages.list
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 02 16:03:53 2011 +0200 (2011-04-02) |
parents | 7be33564ee50 |
children | 8a9ef8c364e6 |
files | tazpkg |
line diff
1.1 --- a/tazpkg Fri Mar 25 18:21:31 2011 +0100 1.2 +++ b/tazpkg Sat Apr 02 16:03:53 2011 +0200 1.3 @@ -2288,7 +2288,8 @@ 1.4 echo $file 1.5 break 1.6 done 1.7 - done < installed.md5 > upgradeable-packages.list ;; 1.8 + done < installed.md5 > upgradeable-packages.list.tmp 1.9 + uniq upgradeable-packages.list.tmp upgradeable-packages.list ;; 1.10 upgrade) 1.11 # Upgrade all installed packages with the new version from the mirror. 1.12 #