refactor(install-xcaddy.sh): replace apt with apt-get
This commit is contained in:
parent
2495eba828
commit
78b080f83f
1 changed files with 4 additions and 4 deletions
|
|
@ -1,11 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
apt update
|
||||
apt-get update
|
||||
|
||||
apt install -y curl debian-keyring debian-archive-keyring apt-transport-https
|
||||
apt-get install -y curl debian-keyring debian-archive-keyring apt-transport-https
|
||||
|
||||
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/xcaddy/gpg.key' | gpg --dearmor -o /usr/share/keyrings/caddy-xcaddy-archive-keyring.gpg
|
||||
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/xcaddy/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-xcaddy.list
|
||||
|
||||
apt update
|
||||
apt install xcaddy
|
||||
apt-get update
|
||||
apt-get install xcaddy
|
||||
|
|
|
|||
Reference in a new issue