tazpkg rev 550

Tiny fix for case when user switch several times between repository with and without ID file
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Mar 01 15:21:09 2012 +0100 (2012-03-01)
parents 686872d0c08e
children 2b65a04ead92
files tazpkg
line diff
     1.1 --- a/tazpkg	Wed Feb 29 22:46:23 2012 +0100
     1.2 +++ b/tazpkg	Thu Mar 01 15:21:09 2012 +0100
     1.3 @@ -2291,8 +2291,8 @@
     1.4  			if [ -f ID ]; then
     1.5  				mv -f ID ID.bak
     1.6  				cat ID.bak > ID
     1.7 -				rm ID.bak
     1.8  			fi
     1.9 +			rm ID.bak
    1.10  
    1.11  			echo ""
    1.12  			if [ "$path" != "$LOCALSTATE" ]; then