tazpkg diff tazpkg @ rev 241

tazpkg: do not substitute everything !
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 05 15:58:02 2009 +0000 (2009-03-05)
parents 0515ecb5f6b2
children acde50fb07a5
line diff
     1.1 --- a/tazpkg	Sun Mar 01 07:12:03 2009 +0100
     1.2 +++ b/tazpkg	Thu Mar 05 15:58:02 2009 +0000
     1.3 @@ -243,7 +243,7 @@
     1.4  			fi
     1.5  		else
     1.6  			# if alternative is installed then nothing to install
     1.7 -			if [ -f $2$INSTALLED/$i/receipt -o -n "$2" ]; then
     1.8 +			if [ -f $2$INSTALLED/$i/receipt ]; then
     1.9  				# substitute installed package
    1.10  				echo $i
    1.11  				return