diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-09-28 00:32:11 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-09-28 00:32:11 -0300 |
commit | 50bb1ee8cc98fe26900491df6e215290b4d6c21a (patch) | |
tree | 5d9e62078a1bd76da2cb715cf98b58319c221b6c /share/hydractl | |
parent | a941c42c8c3d7d4d6921260b40fed92debfc9632 (diff) | |
download | hydra-50bb1ee8cc98fe26900491df6e215290b4d6c21a.tar.gz hydra-50bb1ee8cc98fe26900491df6e215290b4d6c21a.tar.bz2 |
Minor fix
Diffstat (limited to 'share/hydractl')
-rwxr-xr-x | share/hydractl/backup-restore-site | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydractl/backup-restore-site b/share/hydractl/backup-restore-site index 81de76d..a408a11 100755 --- a/share/hydractl/backup-restore-site +++ b/share/hydractl/backup-restore-site @@ -105,7 +105,7 @@ fi if [ -e "$FOLDER/ikiwiki" ]; then echo "Restoring ikiwiki for $SITE..." file="/etc/ikiwiki/$SITE.setup" - if [ -e "$file" ] && [ -e "/var/git/repositories/$SITE" ]; then + if [ -e "$file" ] && [ -e "/var/git/repositories/$SITE.git" ]; then site="`basename $file .setup`" git clone file:///var/git/repositories/$SITE /var/sites/$SITE/ikiwiki_src ikiwiki --setup $file --rebuild |