summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/ffluci/ipkg/ffluci.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/package/ffluci/ipkg/ffluci.postinst')
-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 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