From 060dad5633e0d84d6045029cc9c9a6784a0eeee5 Mon Sep 17 00:00:00 2001 From: Sam <54530346+asylumexp@users.noreply.github.com> Date: Thu, 2 Jan 2025 21:48:22 +1000 Subject: [PATCH] port BC named cts --- install/adventurelog-install.sh | 1 + install/archivebox-install.sh | 1 + install/authentik-install.sh | 2 ++ install/bazarr-install.sh | 4 +--- install/blocky-install.sh | 2 +- install/bunkerweb-install.sh | 4 ---- install/caddy-install.sh | 2 -- install/calibre-web-install.sh | 4 ++-- install/changedetection-install.sh | 10 ++-------- install/channels-install.sh | 3 +-- install/checkmk-install.sh | 3 ++- install/cloudflared-install.sh | 2 -- 12 files changed, 13 insertions(+), 25 deletions(-) diff --git a/install/adventurelog-install.sh b/install/adventurelog-install.sh index 6b70f0bce..da29afa98 100644 --- a/install/adventurelog-install.sh +++ b/install/adventurelog-install.sh @@ -28,6 +28,7 @@ $STD apt-get install -y \ python3-pip \ openssh-server \ wget +rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Installed Dependencies" msg_info "Setting up Node.js Repository" diff --git a/install/archivebox-install.sh b/install/archivebox-install.sh index 4c34e0b5e..27d739f76 100644 --- a/install/archivebox-install.sh +++ b/install/archivebox-install.sh @@ -36,6 +36,7 @@ $STD apt-get install -y \ python3-ldap \ python3-msgpack \ python3-regex +rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Installed Python Dependencies" msg_info "Setting up Node.js Repository" diff --git a/install/authentik-install.sh b/install/authentik-install.sh index 26fcde33b..b7f6f9949 100644 --- a/install/authentik-install.sh +++ b/install/authentik-install.sh @@ -38,6 +38,7 @@ $STD apt-get install -y \ git \ openssh-server \ wget +rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Installed Dependencies" msg_info "Installing yq" @@ -69,6 +70,7 @@ $STD ./configure --enable-optimizations $STD make altinstall cd ~ $STD update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.12 1 +rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Setup Python 3" msg_info "Setting up Node.js Repository" diff --git a/install/bazarr-install.sh b/install/bazarr-install.sh index 706f58a33..77ab879ba 100755 --- a/install/bazarr-install.sh +++ b/install/bazarr-install.sh @@ -25,9 +25,7 @@ msg_info "Updating Python3" $STD apt-get install -y \ python3 \ python3-dev \ - python3-pip \ - openssh-server \ - wget + python3-pip rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Updated Python3" diff --git a/install/blocky-install.sh b/install/blocky-install.sh index 231ec501b..01da0580b 100644 --- a/install/blocky-install.sh +++ b/install/blocky-install.sh @@ -27,7 +27,7 @@ if systemctl is-active systemd-resolved > /dev/null 2>&1; then fi mkdir /opt/blocky RELEASE=$(curl -s https://api.github.com/repos/0xERR0R/blocky/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') -wget -qO- https://github.com/0xERR0R/blocky/releases/download/v${RELEASE}/blocky_v${RELEASE}_Linux_x86_64.tar.gz | tar -xzf - -C /opt/blocky/ +wget -qO- https://github.com/0xERR0R/blocky/releases/download/v${RELEASE}/blocky_v${RELEASE}_Linux_arm64.tar.gz | tar -xzf - -C /opt/blocky/ cat </opt/blocky/config.yml upstream: diff --git a/install/bunkerweb-install.sh b/install/bunkerweb-install.sh index 4adf3a8f1..90bac87b9 100644 --- a/install/bunkerweb-install.sh +++ b/install/bunkerweb-install.sh @@ -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 </etc/apt/preferences.d/bunkerweb Package: bunkerweb Pin: version ${RELEASE} diff --git a/install/caddy-install.sh b/install/caddy-install.sh index 797f03a9e..baec2808f 100644 --- a/install/caddy-install.sh +++ b/install/caddy-install.sh @@ -24,8 +24,6 @@ curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --dearmo curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' >/etc/apt/sources.list.d/caddy-stable.list $STD apt-get update $STD apt-get install -y caddy -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed Caddy" motd_ssh diff --git a/install/calibre-web-install.sh b/install/calibre-web-install.sh index fdce6552f..e0763a01e 100644 --- a/install/calibre-web-install.sh +++ b/install/calibre-web-install.sh @@ -31,8 +31,8 @@ msg_ok "Installed Python Dependencies" msg_info "Installing Kepubify" mkdir -p /opt/kepubify cd /opt/kepubify -curl -fsSLO https://github.com/pgaskin/kepubify/releases/latest/download/kepubify-linux-64bit &>/dev/null -chmod +x kepubify-linux-64bit +curl -fsSLO https://github.com/pgaskin/kepubify/releases/latest/download/kepubify-linux-arm64 &>/dev/null +chmod +x kepubify-linux-arm64 msg_ok "Installed Kepubify" msg_info "Installing Calibre-Web" diff --git a/install/changedetection-install.sh b/install/changedetection-install.sh index 2d2f30a85..9f64bd98e 100644 --- a/install/changedetection-install.sh +++ b/install/changedetection-install.sh @@ -68,8 +68,6 @@ msg_ok "Set up Node.js Repository" msg_info "Installing Node.js" $STD apt-get update $STD apt-get install -y nodejs -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed Node.js" msg_info "Installing Change Detection" @@ -103,9 +101,7 @@ $STD apt-get install -y \ msttcorefonts \ fonts-roboto \ fonts-thai-tlwg \ - fonts-wqy-zenhei \ - openssh-server \ - wget + fonts-wqy-zenhei msg_ok "Installed Font Packages" msg_info "Installing X11 Packages" @@ -122,9 +118,7 @@ $STD apt-get install -y \ libxrandr2 \ libxrender1 \ libxss1 \ - libxtst6 \ - openssh-server \ - wget + libxtst6 msg_ok "Installed X11 Packages" msg_info "Creating Services" diff --git a/install/channels-install.sh b/install/channels-install.sh index 851071c6b..028b6b955 100644 --- a/install/channels-install.sh +++ b/install/channels-install.sh @@ -27,8 +27,7 @@ if [[ "$CTTYPE" == "0" ]]; then msg_info "Setting Up Hardware Acceleration" $STD apt-get -y install \ va-driver-all \ - ocl-icd-libopencl1 \ - intel-opencl-icd + ocl-icd-libopencl1 chgrp video /dev/dri chmod 755 /dev/dri chmod 660 /dev/dri/* diff --git a/install/checkmk-install.sh b/install/checkmk-install.sh index e3d28ab55..e67a902e0 100644 --- a/install/checkmk-install.sh +++ b/install/checkmk-install.sh @@ -5,6 +5,7 @@ # License: MIT # https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# ! DOES NOT SUPPORT ARM64 ! source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color @@ -25,7 +26,7 @@ msg_ok "Installed Dependencies" msg_info "Install Checkmk" RELEASE=$(curl -fsSL https://api.github.com/repos/checkmk/checkmk/tags | grep "name" | awk '{print substr($2, 3, length($2)-4) }' | grep -v "*-rc" | tail -n +2 | head -n 1) -wget -q https://download.checkmk.com/checkmk/${RELEASE}/check-mk-raw-${RELEASE}_0.bookworm_amd64.deb -O /opt/checkmk.deb +wget -q https://download.checkmk.com/checkmk/v2.3.0p23/check-mk-raw-v2.3.0p23_0.bookworm_arm64.deb -O /opt/checkmk.deb $STD apt-get install -y /opt/checkmk.deb $STD apt-get install -y openssh-server $STD apt-get install -y wget diff --git a/install/cloudflared-install.sh b/install/cloudflared-install.sh index 0ff2a9924..851e0a555 100644 --- a/install/cloudflared-install.sh +++ b/install/cloudflared-install.sh @@ -28,8 +28,6 @@ curl -fsSL https://pkg.cloudflare.com/cloudflare-main.gpg >/usr/share/keyrings/c echo "deb [signed-by=/usr/share/keyrings/cloudflare-main.gpg] https://pkg.cloudflare.com/cloudflared $VERSION main" >/etc/apt/sources.list.d/cloudflared.list $STD apt-get update $STD apt-get install -y cloudflared -$STD apt-get install -y openssh-server -$STD apt-get install -y wget msg_ok "Installed Cloudflared" read -r -p "Would you like to configure cloudflared as a DNS-over-HTTPS (DoH) proxy? " prompt