From 8e1207cfc2d9ae4a68894bc904b1ab52f15b9132 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 18 Mar 2008 15:46:56 +0000 Subject: * Fixed Makefile and postinst-script to work correctly (Thanks to Mickey from FF Hannover) --- contrib/package/ffluci/ipkg/ffluci.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/package/ffluci/ipkg') diff --git a/contrib/package/ffluci/ipkg/ffluci.postinst b/contrib/package/ffluci/ipkg/ffluci.postinst index 0dbac00eb7..7265cb96b8 100755 --- a/contrib/package/ffluci/ipkg/ffluci.postinst +++ b/contrib/package/ffluci/ipkg/ffluci.postinst @@ -1,4 +1,4 @@ #!/bin/sh PATTERN='/cgi-bin/ffluci/admin:root:$p$root' grep $PATTERN ${IPKG_INSTROOT}/etc/httpd.conf >/dev/null 2>/dev/null || echo $PATTERN >> ${IPKG_INSTROOT}/etc/httpd.conf -[ -z ${IPKG_INSTROOT} ] && /etc/init.d/httpd restart +[ -n ${IPKG_INSTROOT} ] || /etc/init.d/httpd restart -- cgit v1.2.3