wok-6.x diff couchdb/receipt @ rev 17551

giflib: typo, cacerts: microperl /usr/bin/c_rehash
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Jan 30 03:47:10 2015 +0100 (2015-01-30)
parents eb8067417980
children dfef8de3d270
line diff
     1.1 --- a/couchdb/receipt	Sat Nov 30 10:06:29 2013 +0000
     1.2 +++ b/couchdb/receipt	Fri Jan 30 03:47:10 2015 +0100
     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