Commit ffb36247 authored by anarcat's avatar anarcat Committed by anarcat
Browse files

fix case where aegir config already exists

parent 62ed4cfd
......@@ -93,7 +93,7 @@ case "$1" in
# this obviously doesn't work for git releases
VERSION=`sed -ne '/hostmaster..download..url/{s/^.*hostmaster-//;s/.tgz"//;p}' /usr/share/drush/commands/provision/aegir.make`
su aegir -c "drush hostmaster-install --yes --version='$VERSION' --aegir_db_host='$AEGIR_DB_HOST' --aegir_db_user='$AEGIR_DB_USER' --aegir_db_pass='$AEGIR_DB_PASS' --client_email='$EMAIL' $MAKEFILE $SITE"
ln -s $VARLIB/config/apache.conf /etc/apache2/conf.d/aegir.conf
ln -sf $VARLIB/config/apache.conf /etc/apache2/conf.d/aegir.conf
apache2ctl graceful
db_fset aegir/db_password "seen" "true" || true
;;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment