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

Up libssl (1.0.1j)
author Richard Dunbar <mojo@slitaz.org>
date Mon Dec 29 16:23:33 2014 -0500 (2014-12-29)
parents eb8067417980
children dfef8de3d270
line diff
     1.1 --- a/couchdb/receipt	Sat Nov 30 10:06:29 2013 +0000
     1.2 +++ b/couchdb/receipt	Mon Dec 29 16:23:33 2014 -0500
     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