wok diff cacerts/receipt @ rev 17600

notification-daemon, pidgin-libnotify: fix notify_notification_new args
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 11 22:40:20 2015 +0100 (2015-02-11)
parents 40f9f468d1fd
children f29d4912ea56
line diff
     1.1 --- a/cacerts/receipt	Fri Jan 30 03:47:10 2015 +0100
     1.2 +++ b/cacerts/receipt	Wed Feb 11 22:40:20 2015 +0100
     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  }