aboutsummaryrefslogtreecommitdiff
path: root/templates/refresh.sh.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/refresh.sh.erb')
-rw-r--r--templates/refresh.sh.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/refresh.sh.erb b/templates/refresh.sh.erb
index 6ef0b7d..7561311 100644
--- a/templates/refresh.sh.erb
+++ b/templates/refresh.sh.erb
@@ -26,7 +26,7 @@ elif [ ! -e "$CONF/$NAME.setup" ]; then
fi
# Deploy if needed
-if [ ! -d "$REPO" ]; then
+if [ ! -d "$REPO" ] || [ ! -d "$SITE"/"$INSTANCE"_src ]; then
ikiwiki-deploy $NAME $OWNER $GROUP
fi