summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/ffluci/ipkg
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-03-18 15:46:56 +0000
committerSteven Barth <steven@midlink.org>2008-03-18 15:46:56 +0000
commit8e1207cfc2d9ae4a68894bc904b1ab52f15b9132 (patch)
treec025d1ae353c06c532b59c867a7712bf0d9a0c15 /contrib/package/ffluci/ipkg
parentf41539e5493dc8ba3059730f77a6fbb7595aae5a (diff)
* Fixed Makefile and postinst-script to work correctly
(Thanks to Mickey from FF Hannover)
Diffstat (limited to 'contrib/package/ffluci/ipkg')
-rwxr-xr-xcontrib/package/ffluci/ipkg/ffluci.postinst2
1 files changed, 1 insertions, 1 deletions
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