wok diff c_icap/receipt @ rev 13736

Add xbattle
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 25 19:05:46 2012 +0100 (2012-12-25)
parents 95e0d6cca290
children 76b72f1ad63c
line diff
     1.1 --- a/c_icap/receipt	Thu Mar 01 07:01:35 2012 +0100
     1.2 +++ b/c_icap/receipt	Tue Dec 25 19:05:46 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