projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa17536
)
* Fixed a bug in postinst script
author
Steven Barth
<steven@midlink.org>
Sun, 6 Apr 2008 19:09:36 +0000
(19:09 +0000)
committer
Steven Barth
<steven@midlink.org>
Sun, 6 Apr 2008 19:09:36 +0000
(19:09 +0000)
contrib/package/ffluci/ipkg/ffluci.postinst
patch
|
blob
|
history
diff --git
a/contrib/package/ffluci/ipkg/ffluci.postinst
b/contrib/package/ffluci/ipkg/ffluci.postinst
index 97ada182d57ee3b1bd6bc6942e896554088faea6..b6703dc06eb740bfa09c528da56d66e0bc656c75 100755
(executable)
--- 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