wok diff couchdb/receipt @ rev 17149

slitaz-configs-base: fix Slim Root Login.(/rootfs/root/.xinitrc)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Sep 10 16:16:18 2014 +0200 (2014-09-10)
parents eb8067417980
children dfef8de3d270
line diff
     1.1 --- a/couchdb/receipt	Sat Nov 30 10:06:29 2013 +0000
     1.2 +++ b/couchdb/receipt	Wed Sep 10 16:16:18 2014 +0200
     1.3 @@ -42,8 +42,9 @@
     1.4  	cp -a $install/etc/default/couchdb $fs/etc/couchdb
     1.5  	cp -a $install/etc/init.d $fs/etc
     1.6  	cp -a $install/etc/logrotate.d $fs/etc
     1.7 -	sed -i "s|/etc/default/couchdb|/etc/couchdb/couchdb|" \
     1.8 -		$fs/etc/init.d/couchdb
     1.9 +	sed -i	-e 's|/etc/default/couchdb|/etc/couchdb/couchdb|' \
    1.10 +		-e 's,.*case,[ -d /var/run/couchdb ] || mkdir -p /var/run/couchdb\n&,' \
    1.11 +			$fs/etc/init.d/couchdb
    1.12  }
    1.13  
    1.14  # Pre install commands for tazpkg