* Fixed a bug in postinst script
authorSteven Barth <steven@midlink.org>
Sun, 6 Apr 2008 19:09:36 +0000 (19:09 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 6 Apr 2008 19:09:36 +0000 (19:09 +0000)
contrib/package/ffluci/ipkg/ffluci.postinst

index 97ada182d57ee3b1bd6bc6942e896554088faea6..b6703dc06eb740bfa09c528da56d66e0bc656c75 100755 (executable)
@@ -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