Commit 442bb488 authored by anarcat's avatar anarcat Committed by anarcat
Browse files

handle existing manual provision install gracefully

parent 902839bb
......@@ -12,4 +12,4 @@ Aegir is installed under /var/aegir. I haven't gone through the trouble
of separating the directories to follow the FHS, as Aegir doesn't
support this well yet.
-- Antoine Beaupré <anarcat@koumbit.org>, Tue, 23 Nov 2010 17:11:14 -0400
-- Antoine Beaupré <anarcat@koumbit.org>, Wed, 24 Nov 2010 01:10:50 -0500
......@@ -76,6 +76,10 @@ case "$1" in
fi
db_stop
if [ -d $VARLIB/.drush/provision ]; then
echo "existing provision in $VARLIB/.drush/provision detected, move away and try again"
exit 1
fi
su aegir -c "drush hostmaster-install --aegir_db_host='$AEGIR_DB_HOST' --client_email='$EMAIL' $MAKEFILE $SITE"
;;
......
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