mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-21 10:06:05 +02:00
Small installer update
This commit is contained in:
parent
be42104be6
commit
7f058636a2
1 changed files with 4 additions and 1 deletions
|
@ -51,7 +51,10 @@ if [[ ("$OS" == "Ubuntu" && "$VER" == "22.04") || ("$OS" == "Debian GNU/Linux" &
|
||||||
echo "Installing required packages..."
|
echo "Installing required packages..."
|
||||||
apt update -y
|
apt update -y
|
||||||
apt install -y apt-transport-https curl debian-archive-keyring debian-keyring software-properties-common ufw
|
apt install -y apt-transport-https curl debian-archive-keyring debian-keyring software-properties-common ufw
|
||||||
add-apt-repository ppa:ondrej/php -y
|
if ! add-apt-repository ppa:ondrej/php -y; then
|
||||||
|
echo "Failed to add the PPA repository. Check your internet connection and try again." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' -o caddy-stable.gpg.key
|
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' -o caddy-stable.gpg.key
|
||||||
gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg caddy-stable.gpg.key
|
gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg caddy-stable.gpg.key
|
||||||
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list
|
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue