projects
/
fai-configs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add gnu-social bits
[fai-configs.git]
/
scripts
/
IKIWIKI
/
40-remove_index_html.sh
diff --git
a/scripts/IKIWIKI/40-remove_index_html.sh
b/scripts/IKIWIKI/40-remove_index_html.sh
old mode 100644
(file)
new mode 100755
(executable)
index
4092615
..
5de0be6
--- a/
scripts/IKIWIKI/40-remove_index_html.sh
+++ b/
scripts/IKIWIKI/40-remove_index_html.sh
@@
-1,4
+1,6
@@
#! /bin/sh
# gets in the way of wordpress's index.php
-$ROOTCMD rm /var/www/index.htm
+if $ROOTCMD -e test /var/www/index.htm; then
+ $ROOTCMD rm /var/www/index.htm
+fi