diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-05-02 23:01:08 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-05-02 23:01:08 -0300 |
commit | dd9000fb34a87d7af4dca4b847414d4e42c1b68c (patch) | |
tree | 7b6a40fdbf8049d0d75dc292cce60987812f2bc6 | |
parent | 73fece001d4fe684d126160aad47d9ef068a2369 (diff) | |
download | hydra-dd9000fb34a87d7af4dca4b847414d4e42c1b68c.tar.gz hydra-dd9000fb34a87d7af4dca4b847414d4e42c1b68c.tar.bz2 |
Fix at backup-restore-svn
-rwxr-xr-x | share/hydractl/backup-restore-svn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydractl/backup-restore-svn b/share/hydractl/backup-restore-svn index a4c90a5..457165b 100755 --- a/share/hydractl/backup-restore-svn +++ b/share/hydractl/backup-restore-svn @@ -36,7 +36,7 @@ hydra_backup_environment_service hydractl backup-site svn # Copy site folder from backup. -cp -a $RESTOREDIR/var/svn /var/svn +rm -rf /var/svn && cp -a $RESTOREDIR/var/svn /var/svn # Fix permissions. chown root.root /var/svn |