wok-next diff slib/receipt @ rev 18659

Up python-numpy (1.10.1)
author Yuri Pourre <yuripourre@gmail.com>
date Thu Dec 03 14:40:06 2015 -0200 (2015-12-03)
parents 7a526dcd4932
children 9e01bc6321ea
line diff
     1.1 --- a/slib/receipt	Fri Jun 14 12:25:09 2013 +0000
     1.2 +++ b/slib/receipt	Thu Dec 03 14:40:06 2015 -0200
     1.3 @@ -39,13 +39,13 @@
     1.4  {
     1.5  	# add path to initialization file
     1.6  	sed -i s'#(load-from.*#(load-from-path "/usr/share/slib/guile.init")#' \
     1.7 -		/usr/share/guile/1.8/ice-9/slib.scm
     1.8 +		$1/usr/share/guile/1.8/ice-9/slib.scm
     1.9  	printf "Creating catalog"
    1.10 -	guile -c "((use-modules (ice-9 slib))(require 'new-catalog)(quit))"
    1.11 +	chroot "$1/" guile -c "((use-modules (ice-9 slib))(require 'new-catalog)(quit))"
    1.12  	status
    1.13  }
    1.14  
    1.15  post_remove()
    1.16  {
    1.17 -	rm -f /usr/share/guile/1.8/slibcat
    1.18 +	rm -f $1/usr/share/guile/1.8/slibcat
    1.19  }