wok-current diff slib/receipt @ rev 18713

Translations for Science category (thanks Aleksej)
author Lucas Levrel <llevrel@yahoo.fr>
date Wed Dec 16 20:44:08 2015 +0100 (2015-12-16)
parents 7a526dcd4932
children 9e01bc6321ea
line diff
     1.1 --- a/slib/receipt	Fri Jun 14 12:25:09 2013 +0000
     1.2 +++ b/slib/receipt	Wed Dec 16 20:44:08 2015 +0100
     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  }