From f0f1cf8654bc75024ef398ab165c86f12ce270d4 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sun, 6 Apr 2008 19:09:36 +0000 Subject: [PATCH] * Fixed a bug in postinst script --- contrib/package/ffluci/ipkg/ffluci.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/package/ffluci/ipkg/ffluci.postinst b/contrib/package/ffluci/ipkg/ffluci.postinst index 97ada182d5..b6703dc06e 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 -- 2.30.2