Skip to content

Commit

Permalink
Install certbot packages in postinstall script
Browse files Browse the repository at this point in the history
  • Loading branch information
kala13x committed Aug 13, 2021
1 parent 9702977 commit a27a92f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
5 changes: 5 additions & 0 deletions misc/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,11 @@ case "$1" in
fi
fi

# Install pip3 dependencies
pip3 install --user setuptools_rust certbot certbot-dns-subdomain-provider
pip3 install --user --upgrade pip
pip3 install --user --upgrade cryptography

nginx -t 2>/dev/null > /dev/null
if [[ $? == 0 ]]; then
# Reenable our site in nginx
Expand Down
4 changes: 0 additions & 4 deletions scripts/install_prereqs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,3 @@ echo "nameserver 8.8.8.8" > $LOCATION/etc/resolvconf/resolv.conf.d/head || true
echo "nameserver 8.8.8.8" > $LOCATION/etc/resolv.conf

apt-get install -y -V autoconf automake libtool git build-essential gcc g++ debhelper ccache bison flex texinfo yasm cmake libbsd-dev libopencv-dev libudev-dev libva-dev rsyslog sudo gsoap libgsoap-dev $ADDITIONAL_PKGS

pip3 install --user setuptools_rust certbot certbot-dns-subdomain-provider
pip3 install --user --upgrade pip
pip3 install --user --upgrade cryptography
4 changes: 0 additions & 4 deletions scripts/install_prereqs_native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,3 @@ apt-get update
apt-get upgrade -y -V

apt-get install -y -V autoconf automake libtool git build-essential gcc g++ debhelper ccache bison flex texinfo yasm cmake libbsd-dev libopencv-dev libudev-dev libva-dev rsyslog sudo gsoap libgsoap-dev $ADDITIONAL_PKGS

pip3 install --user setuptools_rust certbot certbot-dns-subdomain-provider
pip3 install --user --upgrade pip
pip3 install --user --upgrade cryptography

0 comments on commit a27a92f

Please sign in to comment.