Skip to content

Commit

Permalink
Update install.sh to use Snapd version of Certbot
Browse files Browse the repository at this point in the history
  • Loading branch information
putsi authored and Jarmo Puttonen committed Nov 12, 2021
1 parent 22b81e3 commit 776f04e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@ if [ 0 -eq $? ]; then
fi
fi;

apt update -y && apt install -y python3 python3-pip certbot && pip3 install dnslib
# Use snap version of Certbot because APT-version is too old.
snap install --classic certbot
snap refresh certbot
ln -s /snap/bin/certbot /usr/bin/certbot

apt update -y && apt install -y python3 python3-pip && pip3 install dnslib

mkdir -p /usr/local/collaborator/
cp "$SRC_PATH/dnshook.sh" /usr/local/collaborator/
cp "$SRC_PATH/cleanup.sh" /usr/local/collaborator/
Expand Down

0 comments on commit 776f04e

Please sign in to comment.