diff options
author | Steven Barth <steven@midlink.org> | 2008-04-06 19:09:36 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-04-06 19:09:36 +0000 |
commit | f0f1cf8654bc75024ef398ab165c86f12ce270d4 (patch) | |
tree | 139afe63900dbb4322212e830a2f36c12e0e4fc3 /contrib | |
parent | fa17536851a02bf44bf5daa1d8c5bdeac1984357 (diff) |
* Fixed a bug in postinst script
Diffstat (limited to 'contrib')
-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 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 |