summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarracuda Team2013-04-14 00:40:40 (GMT)
committer Barracuda Team2013-04-14 00:40:40 (GMT)
commit4fb81d90c4fa40aa9db090afb7fe34135119d883 (patch)
tree54cd645dd654f4bd06c371a4f3bb27784288b6bb
parentcb82f3849ab71aea83d6fb121dd0472a810b3277 (diff)
Fix latest typo breaking Satellite Instance upgrade.
-rw-r--r--aegir/scripts/AegirSetupA.sh.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/aegir/scripts/AegirSetupA.sh.txt b/aegir/scripts/AegirSetupA.sh.txt
index a11d5c2..c1c4091 100644
--- a/aegir/scripts/AegirSetupA.sh.txt
+++ b/aegir/scripts/AegirSetupA.sh.txt
@@ -888,7 +888,7 @@ provision_backend_dbpass_sync () {
_L_SYS="$_ROOT/.$_USER.pass.txt"
mv -f $_L_SYS $_L_SYS-pre-$_INSTALLER_VERSION-$_NOW &> /dev/null
provision_backend_dbpass_generate
- if [ ! -z "$_ESC_APASS" ] && [ ! -z "$_ENC_APASS" ] ; then
+ if [ ! -z "$_ESC_PASS" ] && [ ! -z "$_ENC_PASS" ] ; then
su -s /bin/bash - $_USER -c "$_DRUSHCMD @hostmaster sqlq \"UPDATE hosting_db_server SET db_passwd='$_ESC_PASS' WHERE db_user='$_USER'\" &> /dev/null"
mysql -u root -e "UPDATE mysql.user SET Password=PASSWORD('$_ESC_PASS') WHERE User='$_USER';" &> /dev/null
sed -i "s/mysql:\/\/$_USER:.*/mysql:\/\/$_USER:$_ENC_PASS@localhost',/g" $_ROOT/.drush/server_localhost.alias.drushrc.php &> /dev/null