1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-05 00:27:25 +00:00

Ensure pip3 is installed before installing email_validator

This commit is contained in:
downtownallday 2022-01-11 09:53:07 -05:00
parent f5c92d936d
commit d6cd4e826c

View File

@ -229,6 +229,8 @@ miab_ldap_install() {
# in non-interactive mode
if [ ! -z "${NONINTERACTIVE:-}" ]; then
H2 "Install email_validator python3 module"
wait_for_apt
apt-get install -y -qq python3-pip || die "Unable to install pip3!"
pip3 install -q "email_validator>=1.0.0" || die "Unable to install email_validator python3 module!"
fi