mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
This commit is contained in:
parent
1ef455d37d
commit
0754ce01b1
@ -6,8 +6,11 @@ if [ -z "$NONINTERACTIVE" ]; then
|
||||
# use a shell flag instead. Really supress any output from installing dialog.
|
||||
#
|
||||
# Also install depencies needed to validate the email address.
|
||||
echo Installing packages needed for setup...
|
||||
apt_get_quiet install dialog python3 python3-pip || exit 1
|
||||
if [ ! -f /usr/bin/dialog ] || [ ! -f /usr/bin/python3 ] || [ ! -f /usr/bin/pip3 ]; then
|
||||
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
|
||||
hide_output pip3 install "email_validator==0.1.0-rc5" || exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user