wok-next diff slib/receipt @ rev 18432

blender: update DEPENDS
author Christophe Lincoln <pankso@slitaz.org>
date Tue Sep 22 00:31:02 2015 +0200 (2015-09-22)
parents 7a526dcd4932
children 9e01bc6321ea
line diff
     1.1 --- a/slib/receipt	Fri Jun 14 12:25:09 2013 +0000
     1.2 +++ b/slib/receipt	Tue Sep 22 00:31:02 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  }