From: Steven Barth Date: Sun, 6 Apr 2008 19:09:36 +0000 (+0000) Subject: * Fixed a bug in postinst script X-Git-Tag: 0.8.0~1155 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f0f1cf8654bc75024ef398ab165c86f12ce270d4;p=oweals%2Fluci.git * Fixed a bug in postinst script --- diff --git a/contrib/package/ffluci/ipkg/ffluci.postinst b/contrib/package/ffluci/ipkg/ffluci.postinst index 97ada182d..b6703dc06 100755 --- a/contrib/package/ffluci/ipkg/ffluci.postinst +++ b/contrib/package/ffluci/ipkg/ffluci.postinst @@ -1,7 +1,7 @@ #!/bin/sh PATTERNS='/cgi-bin/ffluci/admin:root:$p$root /cgi-bin/ffluci-upload:root:$p$root' -for i in "$PATTERNS" +for i in $PATTERNS do grep "$i" ${IPKG_INSTROOT}/etc/httpd.conf >/dev/null 2>/dev/null || echo "$i" >> ${IPKG_INSTROOT}/etc/httpd.conf done