projects
/
fai-configs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed logic
[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
index 4092615dacc2ea637cb4cf22feb5eaba1828cdb2..5de0be62489ea7a7c0bb234f6ffb5adc0406d1c8 100755
(executable)
--- 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