aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-01-04 18:58:42 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-01-04 18:58:42 -0200
commit89efc71c66b1da224a0163f5bf7fd9a06eac1989 (patch)
tree1b77b676a411657b938244568ba7b5c298b06b4e /share
parent8473f166cc59c3ec3c1db16459cf6b8cfc67fbb5 (diff)
downloadhydra-89efc71c66b1da224a0163f5bf7fd9a06eac1989.tar.gz
hydra-89efc71c66b1da224a0163f5bf7fd9a06eac1989.tar.bz2
Syntax fixes
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydractl/backup-restore-gitosis8
-rwxr-xr-xshare/hydractl/backup-restore-site8
-rwxr-xr-xshare/hydractl/backup-restore-svn8
-rwxr-xr-xshare/hydractl/backup-site8
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