wok-next diff slib/receipt @ rev 17709
Up libmateweather: split dev package
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Tue Mar 03 23:19:00 2015 -0300 (2015-03-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 Tue Mar 03 23:19:00 2015 -0300 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 }