use certbot from apt not snap (#16081)
This commit is contained in:
@ -4,11 +4,7 @@ set -ex
|
|||||||
[[ $(uname) = Linux ]] || exit 1
|
[[ $(uname) = Linux ]] || exit 1
|
||||||
[[ $USER = root ]] || exit 1
|
[[ $USER = root ]] || exit 1
|
||||||
|
|
||||||
snap install core
|
apt install -y certbot
|
||||||
snap refresh core
|
|
||||||
|
|
||||||
snap install --classic certbot
|
|
||||||
ln -sf /snap/bin/certbot /usr/bin/certbot
|
|
||||||
|
|
||||||
cat > /certbot-restore.sh <<'EOF'
|
cat > /certbot-restore.sh <<'EOF'
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
Reference in New Issue
Block a user