Commit 0754ce01 authored by Joshua Tauberer's avatar Joshua Tauberer

questions.sh needs to apt-get update before it does an apt-get install, see #431, see #438

parent 1ef455d3
...@@ -6,8 +6,11 @@ if [ -z "$NONINTERACTIVE" ]; then ...@@ -6,8 +6,11 @@ if [ -z "$NONINTERACTIVE" ]; then
# use a shell flag instead. Really supress any output from installing dialog. # use a shell flag instead. Really supress any output from installing dialog.
# #
# Also install depencies needed to validate the email address. # Also install depencies needed to validate the email address.
echo Installing packages needed for setup... if [ ! -f /usr/bin/dialog ] || [ ! -f /usr/bin/python3 ] || [ ! -f /usr/bin/pip3 ]; then
apt_get_quiet install dialog python3 python3-pip || exit 1 echo Installing packages needed for setup...
apt-get -q -q update
apt_get_quiet install dialog python3 python3-pip || exit 1
fi
# email_validator is repeated in setup/management.sh # email_validator is repeated in setup/management.sh
hide_output pip3 install "email_validator==0.1.0-rc5" || exit 1 hide_output pip3 install "email_validator==0.1.0-rc5" || exit 1
......
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