Commit d3cddacd authored by anarcat's avatar anarcat

make sure we prompt for the makefile if it was never seen

parent a65ed135
......@@ -5,10 +5,16 @@ set -e
# Source debconf library.
. /usr/share/debconf/confmodule
# the makefile may be used even if you already have an install
db_input low aegir/makefile || true
if su -s /bin/sh aegir -c 'drush @hostmaster status' | grep -q 'Drupal bootstrap.*Successful'; then
# there's already an install, do not go around asking silly questions
db_fget aegir/makefile "seen" || true
if [ "$RET" = "false" ]; then
# ... except if that makefile question was never asked, in
# which case we're probably upgrading from a custom install,
# so we need to ask for the custom install makefile
db_input medium aegir/makefile || true
db_go
fi
exit 0
fi
......
Markdown is supported
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