diff options
-rwxr-xr-x | share/hydractl/backup-restore-gitosis | 8 | ||||
-rwxr-xr-x | share/hydractl/backup-restore-site | 8 | ||||
-rwxr-xr-x | share/hydractl/backup-restore-svn | 8 | ||||
-rwxr-xr-x | share/hydractl/backup-site | 8 |
4 files changed, 16 insertions, 16 deletions
diff --git a/share/hydractl/backup-restore-gitosis b/share/hydractl/backup-restore-gitosis index f8435d6..826dd6e 100755 --- a/share/hydractl/backup-restore-gitosis +++ b/share/hydractl/backup-restore-gitosis @@ -25,16 +25,16 @@ fi # Set git user. if hydra_check_user gitosis; then - $GIT_USER="gitosis" + GIT_USER="gitosis" else - $GIT_USER="root" + GIT_USER="root" fi # Set git group. if hydra_check_group gitosis; then - $GIT_GROUP="gitosis" + GIT_GROUP="gitosis" else - $GIT_GROUP="root" + GIT_GROUP="root" fi # Backup it. diff --git a/share/hydractl/backup-restore-site b/share/hydractl/backup-restore-site index 8f10225..55fec8e 100755 --- a/share/hydractl/backup-restore-site +++ b/share/hydractl/backup-restore-site @@ -30,16 +30,16 @@ fi # Set site user. if hydra_check_user $SITE; then - $SITE_USER="$SITE" + SITE_USER="$SITE" else - $SITE_USER="root" + SITE_USER="root" fi # Set site group. if hydra_check_group $SITE; then - $SITE_GROUP="$SITE" + SITE_GROUP="$SITE" else - $SITE_GROUP="root" + SITE_GROUP="root" fi # Check if folder exist on the backup. diff --git a/share/hydractl/backup-restore-svn b/share/hydractl/backup-restore-svn index 97ffa74..1529348 100755 --- a/share/hydractl/backup-restore-svn +++ b/share/hydractl/backup-restore-svn @@ -28,16 +28,16 @@ hydractl backup-site svn # Set svn user. if hydra_check_user svn; then - $SVN_USER="svn" + SVN_USER="svn" else - $SVN_USER="root" + SVN_USER="root" fi # Set svn group. if hydra_check_group svn; then - $SVN_GROUP="svn" + SVN_GROUP="svn" else - $SVN_GROUP="root" + SVN_GROUP="root" fi # Copy site folder from backup. diff --git a/share/hydractl/backup-site b/share/hydractl/backup-site index 4bbaef4..6271da6 100755 --- a/share/hydractl/backup-site +++ b/share/hydractl/backup-site @@ -25,16 +25,16 @@ fi # Set backups user. if hydra_check_user backups; then - $BACKUPS_USER="backups" + BACKUPS_USER="backups" else - $BACKUPS_USER="root" + BACKUPS_USER="root" fi # Set backups group. if hydra_check_group backups; then - $BACKUPS_GROUP="backups" + BACKUPS_GROUP="backups" else - $BACKUPS_GROUP="root" + BACKUPS_GROUP="root" fi # Create folder |