wok diff foomatic-db-nonfree/receipt @ rev 18296

Up linux (3.2.71)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 17 11:03:13 2015 +0200 (2015-08-17)
parents 3b4e4318134e
children 9e01bc6321ea
line diff
     1.1 --- a/foomatic-db-nonfree/receipt	Tue Dec 03 18:28:51 2013 +0000
     1.2 +++ b/foomatic-db-nonfree/receipt	Mon Aug 17 11:03:13 2015 +0200
     1.3 @@ -62,14 +62,13 @@
     1.4      echo "The license is stored in /usr/share/licenses/$PACKAGE "    
     1.5      echo -n "Would you like to read the license (y/N) : "; read anser
     1.6      if [ "$anser" = "y" ]; then
     1.7 -		cat /usr/share/licenses/"$PACKAGE"/COPYING | more	
     1.8 +		cat $1/usr/share/licenses/"$PACKAGE"/COPYING | more	
     1.9  		echo "" 		
    1.10  	fi
    1.11  	echo "================================================================================"
    1.12  	 echo -n "Do you accept the license (y/N) : "; read anser
    1.13      if [ "$anser" = "N" ]; then
    1.14  		echo "You did not accept the license, Removing the pkg."	
    1.15 -		tazpkg remove "$PACKAGE"		
    1.16 +		chroot "$1/" tazpkg remove "$PACKAGE"		
    1.17  	fi
    1.18 -
    1.19  }