diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-01-04 11:59:16 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-01-04 11:59:16 -0200 |
commit | c92cdc9d3a81ca6809a39f26c23053db6b5a4ebe (patch) | |
tree | 419b8fa70303899b4f4b28b3a42ff1056d9f2f47 /templates/refresh.sh.erb | |
parent | 205ced3a10be2c4e9e2b291e83d8d77c075db7ff (diff) | |
download | puppet-ikiwiki-c92cdc9d3a81ca6809a39f26c23053db6b5a4ebe.tar.gz puppet-ikiwiki-c92cdc9d3a81ca6809a39f26c23053db6b5a4ebe.tar.bz2 |
Deploy also if ikiwiki_src does not exit
Diffstat (limited to 'templates/refresh.sh.erb')
-rw-r--r-- | templates/refresh.sh.erb | 2 |
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 |