wok-6.x rev 11998
c_icap: Fix receipt
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Mar 04 22:37:40 2012 +0100 (2012-03-04) |
parents | f7cdbd605b68 |
children | 469b918af40a |
files | c_icap/receipt |
line diff
1.1 --- a/c_icap/receipt Sun Mar 04 16:35:24 2012 +0100 1.2 +++ b/c_icap/receipt Sun Mar 04 22:37:40 2012 +0100 1.3 @@ -24,8 +24,10 @@ 1.4 genpkg_rules() 1.5 { 1.6 mkdir -p $fs/usr/lib/$PACKAGE \ 1.7 - $fs/etc/init.d 1.8 - 1.9 + $fs/etc/init.d \ 1.10 + $fs/var/log/c-icap \ 1.11 + $fs/var/run/c-icap 1.12 + 1.13 cp -a $install/usr/bin $fs/usr 1.14 cp -a $install/usr/lib/*.so* $fs/usr/lib 1.15 cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE 1.16 @@ -38,7 +40,8 @@ 1.17 1.18 # Fix config file 1.19 sed -i -e "s|YourServerName|localhost|" \ 1.20 - -e "s|/usr/var/log/|/var/log/c-icap|" \ 1.21 + -e "s|/usr/var/log|/var/log/c-icap/|" \ 1.22 + -e "s|/usr/var/run/|/var/run/c-icap|" \ 1.23 -e "s|/usr/etc|/etc/c-icap|" $fs/etc/c-icap/c-icap.conf 1.24 chmod -x $fs/etc/c-icap/* 1.25