wok-current diff slib/receipt @ rev 17829
Up:spk(1.4.3)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Mar 22 22:37:15 2015 +0100 (2015-03-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 Sun Mar 22 22:37:15 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 }