port BC named cts

This commit is contained in:
Sam
2025-01-02 21:48:22 +10:00
parent 9afdcc793b
commit 060dad5633
12 changed files with 13 additions and 25 deletions
-4
View File
@@ -29,8 +29,6 @@ wget -qO- https://nginx.org/keys/nginx_signing.key | gpg --dearmor >/usr/share/k
echo "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] http://nginx.org/packages/debian $(lsb_release -cs) nginx" >/etc/apt/sources.list.d/nginx.list
$STD apt-get update
$STD apt-get install -y nginx=1.26.2*
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
msg_ok "Installed Nginx"
RELEASE=$(curl -s https://api.github.com/repos/bunkerity/bunkerweb/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
@@ -40,8 +38,6 @@ echo "deb [signed-by=/etc/apt/keyrings/bunkerity_bunkerweb-archive-keyring.gpg]
$STD apt-get update
export UI_WIZARD=1
$STD apt-get install -y bunkerweb=${RELEASE}
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
cat <<EOF >/etc/apt/preferences.d/bunkerweb
Package: bunkerweb
Pin: version ${RELEASE}