diff options
Diffstat (limited to 'contrib/package/ffluci/ipkg/ffluci.postinst')
-rwxr-xr-x | contrib/package/ffluci/ipkg/ffluci.postinst | 2 |
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 |