wok diff cacerts/receipt @ rev 17587

Up: patch 2.7.4
author Alexander Medvedev <devl547@gmail.com>
date Sun Feb 08 22:12:39 2015 +0000 (2015-02-08)
parents 40f9f468d1fd
children f29d4912ea56
line diff
     1.1 --- a/cacerts/receipt	Fri Jan 30 03:47:10 2015 +0100
     1.2 +++ b/cacerts/receipt	Sun Feb 08 22:12:39 2015 +0000
     1.3 @@ -33,10 +33,10 @@
     1.4  post_install()
     1.5  {
     1.6  	echo "Rehash certificates:"
     1.7 -	if [ -d "$INSTALLED/perl" ]; then
     1.8 -		c_rehash
     1.9 +	if [ -d "$1/$INSTALLED/perl" ]; then
    1.10 +		chroot "$1/" c_rehash
    1.11  	else
    1.12 -		tazpkg -gi microperl
    1.13 -		microperl /usr/bin/c_rehash
    1.14 +		tazpkg -gi microperl --root="${1:-/}"
    1.15 +		chroot "$1/" microperl /usr/bin/c_rehash
    1.16  	fi
    1.17  }