From 3cd857f2e08240e1e09e66d4c869e31f14263d46 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Wed, 15 Oct 2025 22:58:08 +0200 Subject: [PATCH] bump q to s scripts to debian 13 (#8366) --- ct/qbittorrent.sh | 2 +- ct/rabbitmq.sh | 12 +++++----- ct/radarr.sh | 2 +- ct/radicale.sh | 4 ++-- ct/rclone.sh | 2 +- ct/rdtclient.sh | 6 ++--- ct/reactive-resume.sh | 2 +- ct/readarr.sh | 8 +++---- ct/readeck.sh | 2 +- ct/recyclarr.sh | 2 +- ct/redis.sh | 4 ++-- ct/resiliosync.sh | 6 ++--- ct/revealjs.sh | 2 +- ct/runtipi.sh | 4 ++-- ct/rustdeskserver.sh | 2 +- ct/sabnzbd.sh | 3 +-- ct/salt.sh | 6 ++--- ct/scraparr.sh | 2 +- ct/searxng.sh | 2 +- ct/seelf.sh | 2 +- ct/semaphore.sh | 2 +- ct/sftpgo.sh | 8 +++---- ct/signoz.sh | 6 ++--- ct/silverbullet.sh | 2 +- ct/slskd.sh | 2 +- ct/smokeping.sh | 8 +++---- ct/snipeit.sh | 6 ++--- ct/sonarr.sh | 2 +- ct/spoolman.sh | 2 +- ct/sqlserver2022.sh | 6 ++--- ct/stirling-pdf.sh | 2 +- ct/streamlink-webui.sh | 2 +- ct/stylus.sh | 2 +- ct/suwayomiserver.sh | 2 +- ct/swizzin.sh | 2 +- ct/syncthing.sh | 26 +++++++++++----------- frontend/public/json/qbittorrent.json | 2 +- frontend/public/json/rabbitmq.json | 2 +- frontend/public/json/radarr.json | 2 +- frontend/public/json/radicale.json | 2 +- frontend/public/json/rclone.json | 6 ++--- frontend/public/json/rdtclient.json | 2 +- frontend/public/json/reactive-resume.json | 4 ++-- frontend/public/json/readeck.json | 2 +- frontend/public/json/recyclarr.json | 2 +- frontend/public/json/redis.json | 2 +- frontend/public/json/resiliosync.json | 2 +- frontend/public/json/revealjs.json | 2 +- frontend/public/json/runtipi.json | 2 +- frontend/public/json/rustdeskserver.json | 2 +- frontend/public/json/sabnzbd.json | 2 +- frontend/public/json/salt.json | 2 +- frontend/public/json/scraparr.json | 2 +- frontend/public/json/searxng.json | 2 +- frontend/public/json/seelf.json | 2 +- frontend/public/json/semaphore.json | 2 +- frontend/public/json/sftpgo.json | 2 +- frontend/public/json/signoz.json | 2 +- frontend/public/json/silverbullet.json | 2 +- frontend/public/json/slskd.json | 2 +- frontend/public/json/smokeping.json | 2 +- frontend/public/json/snipeit.json | 2 +- frontend/public/json/sonarr.json | 2 +- frontend/public/json/spoolman.json | 2 +- frontend/public/json/stirling-pdf.json | 2 +- frontend/public/json/streamlink-webui.json | 2 +- frontend/public/json/stylus.json | 2 +- frontend/public/json/suwayomi-server.json | 2 +- frontend/public/json/swizzin.json | 2 +- frontend/public/json/syncthing.json | 2 +- install/qbittorrent-install.sh | 5 +++-- install/rabbitmq-install.sh | 11 ++++----- install/radarr-install.sh | 7 +++--- install/radicale-install.sh | 7 +++--- install/rclone-install.sh | 7 +++--- install/rdtclient-install.sh | 9 ++++---- install/reactive-resume-install.sh | 5 +++-- install/readarr-install.sh | 7 +++--- install/readeck-install.sh | 5 +++-- install/recyclarr-install.sh | 7 +++--- install/redis-install.sh | 22 ++++++++++++------ install/resiliosync-install.sh | 19 +++++++++++----- install/revealjs-install.sh | 5 +++-- install/runtipi-install.sh | 5 +++-- install/rustdeskserver-install.sh | 5 +++-- install/sabnzbd-install.sh | 11 ++++----- install/salt-install.sh | 11 ++++----- install/scraparr-install.sh | 5 +++-- install/searxng-install.sh | 16 ++++++++----- install/seelf-install.sh | 7 +++--- install/semaphore-install.sh | 15 +++++++++---- install/sftpgo-install.sh | 19 +++++++++++----- install/signoz-install.sh | 20 ++++++++++++----- install/silverbullet-install.sh | 5 +++-- install/slskd-install.sh | 7 +++--- install/smokeping-install.sh | 7 +++--- install/snipeit-install.sh | 7 +++--- install/sonarr-install.sh | 7 +++--- install/spoolman-install.sh | 9 ++++---- install/stirling-pdf-install.sh | 13 ++++++----- install/streamlink-webui-install.sh | 5 +++-- install/stylus-install.sh | 5 +++-- install/suwayomiserver-install.sh | 7 +++--- install/swizzin-install.sh | 5 +++-- install/syncthing-install.sh | 21 +++++++++++------ 105 files changed, 317 insertions(+), 240 deletions(-) diff --git a/ct/qbittorrent.sh b/ct/qbittorrent.sh index 4659bbb9a..6f03cedd6 100644 --- a/ct/qbittorrent.sh +++ b/ct/qbittorrent.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-8}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/rabbitmq.sh b/ct/rabbitmq.sh index 7cbb6422b..bde470adc 100644 --- a/ct/rabbitmq.sh +++ b/ct/rabbitmq.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-1024}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -31,14 +31,14 @@ function update_script() { rm -f /etc/apt/sources.list.d/rabbitmq.list cat </etc/apt/sources.list.d/rabbitmq.list ## Modern Erlang/OTP releases -deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb1.rabbitmq.com/rabbitmq-erlang/debian/bookworm bookworm main -deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb2.rabbitmq.com/rabbitmq-erlang/debian/bookworm bookworm main +deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb1.rabbitmq.com/rabbitmq-erlang/debian/trixie trixie main +deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb2.rabbitmq.com/rabbitmq-erlang/debian/trixie trixie main ## Provides modern RabbitMQ releases -deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb1.rabbitmq.com/rabbitmq-server/debian/bookworm bookworm main -deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb2.rabbitmq.com/rabbitmq-server/debian/bookworm bookworm main +deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb1.rabbitmq.com/rabbitmq-server/debian/trixie trixie main +deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb2.rabbitmq.com/rabbitmq-server/debian/trixie trixie main EOF - $STD apt-get update + $STD apt update fi msg_info "Stopping Service" diff --git a/ct/radarr.sh b/ct/radarr.sh index 7c4cc5993..ec0ec00f7 100644 --- a/ct/radarr.sh +++ b/ct/radarr.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-1024}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/radicale.sh b/ct/radicale.sh index 00c851342..559e2e613 100644 --- a/ct/radicale.sh +++ b/ct/radicale.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-512}" var_disk="${var_disk:-2}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -48,4 +48,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5232${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5232${CL}" diff --git a/ct/rclone.sh b/ct/rclone.sh index 40afefa41..117a468ae 100644 --- a/ct/rclone.sh +++ b/ct/rclone.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-512}" var_disk="${var_disk:-2}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" var_fuse="${var_fuse:-yes}" diff --git a/ct/rdtclient.sh b/ct/rdtclient.sh index 90a15ec6e..033d2693a 100755 --- a/ct/rdtclient.sh +++ b/ct/rdtclient.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-1024}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -40,8 +40,8 @@ function update_script() { fetch_and_deploy_gh_release "rdt-client" "rogerfar/rdt-client" "prebuild" "latest" "/opt/rdtc" "RealDebridClient.zip" cp -R /opt/rdtc-backup/appsettings.json /opt/rdtc/ if dpkg-query -W dotnet-sdk-8.0 >/dev/null 2>&1; then - $STD apt-get remove --purge -y dotnet-sdk-8.0 - $STD apt-get install -y dotnet-sdk-9.0 + $STD apt remove --purge -y dotnet-sdk-8.0 + $STD apt install -y dotnet-sdk-9.0 fi msg_info "Starting Service" diff --git a/ct/reactive-resume.sh b/ct/reactive-resume.sh index 05afe4401..521b8de02 100644 --- a/ct/reactive-resume.sh +++ b/ct/reactive-resume.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-4096}" var_disk="${var_disk:-8}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/readarr.sh b/ct/readarr.sh index a509d280b..2f59db1ec 100644 --- a/ct/readarr.sh +++ b/ct/readarr.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-1024}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -28,8 +28,8 @@ function update_script() { exit fi msg_info "Updating $APP LXC" - $STD apt-get update - $STD apt-get -y upgrade + $STD apt update + $STD apt -y upgrade msg_ok "Updated $APP LXC" exit } @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8787${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8787${CL}" diff --git a/ct/readeck.sh b/ct/readeck.sh index a32e3be6e..f76f4515f 100644 --- a/ct/readeck.sh +++ b/ct/readeck.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-512}" var_disk="${var_disk:-2}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/recyclarr.sh b/ct/recyclarr.sh index 30511f78f..ef090f9f4 100644 --- a/ct/recyclarr.sh +++ b/ct/recyclarr.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-512}" var_disk="${var_disk:-2}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/redis.sh b/ct/redis.sh index 0348d2fb9..e69e50105 100644 --- a/ct/redis.sh +++ b/ct/redis.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-1024}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -38,4 +38,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following IP:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}${IP}:6379${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}${IP}:6379${CL}" diff --git a/ct/resiliosync.sh b/ct/resiliosync.sh index 79af71263..89ec1261f 100644 --- a/ct/resiliosync.sh +++ b/ct/resiliosync.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-8}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -28,8 +28,8 @@ function update_script() { exit fi msg_info "Updating ${APP} LXC" - $STD apt-get update - $STD apt-get -y upgrade + $STD apt update + $STD apt -y upgrade msg_ok "Updated Successfully" exit } diff --git a/ct/revealjs.sh b/ct/revealjs.sh index e7c97e054..9c38f799b 100644 --- a/ct/revealjs.sh +++ b/ct/revealjs.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-1024}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/runtipi.sh b/ct/runtipi.sh index 3c77e7c57..7c95519af 100644 --- a/ct/runtipi.sh +++ b/ct/runtipi.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-8}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -38,4 +38,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}" diff --git a/ct/rustdeskserver.sh b/ct/rustdeskserver.sh index ecd5c38a6..e705e8d97 100644 --- a/ct/rustdeskserver.sh +++ b/ct/rustdeskserver.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-512}" var_disk="${var_disk:-2}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/sabnzbd.sh b/ct/sabnzbd.sh index 03c750318..41956a284 100644 --- a/ct/sabnzbd.sh +++ b/ct/sabnzbd.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-5}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -69,4 +69,3 @@ msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:7777${CL}" - diff --git a/ct/salt.sh b/ct/salt.sh index cfdbb5450..f6acc9baa 100644 --- a/ct/salt.sh +++ b/ct/salt.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-1024}" var_disk="${var_disk:-3}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -33,8 +33,8 @@ function update_script() { if [[ ! -f /~.salt ]] || [[ "${RELEASE}" != "$(cat /~.salt)" ]]; then msg_info "Updating $APP to ${RELEASE}" sed -i "s/^\(Pin: version \).*/\1${RELEASE}/" /etc/apt/preferences.d/salt-pin-1001 - $STD apt-get update - $STD apt-get upgrade -y + $STD apt update + $STD apt upgrade -y echo "${RELEASE}" >/~.salt msg_ok "Updated ${APP} to ${RELEASE}" else diff --git a/ct/scraparr.sh b/ct/scraparr.sh index 734f55d1e..be7707f51 100644 --- a/ct/scraparr.sh +++ b/ct/scraparr.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-1024}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/searxng.sh b/ct/searxng.sh index 521f687ae..a991313d2 100644 --- a/ct/searxng.sh +++ b/ct/searxng.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-7}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/seelf.sh b/ct/seelf.sh index 8792d1569..c991c77d5 100644 --- a/ct/seelf.sh +++ b/ct/seelf.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-4096}" var_disk="${var_disk:-10}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/semaphore.sh b/ct/semaphore.sh index d24135e30..2c17515ab 100644 --- a/ct/semaphore.sh +++ b/ct/semaphore.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/sftpgo.sh b/ct/sftpgo.sh index b34b149d9..f8d5540a9 100644 --- a/ct/sftpgo.sh +++ b/ct/sftpgo.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -28,8 +28,8 @@ function update_script() { exit fi msg_info "Updating $APP LXC" - $STD apt-get update - $STD apt-get -y upgrade + $STD apt update + $STD apt -y upgrade msg_ok "Updated $APP LXC" exit } @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080/web/admin${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080/web/admin${CL}" diff --git a/ct/signoz.sh b/ct/signoz.sh index 1b4514ef3..6733c8716 100644 --- a/ct/signoz.sh +++ b/ct/signoz.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-4096}" var_disk="${var_disk:-20}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -40,8 +40,8 @@ function update_script() { msg_info "Updating ${APP}" cd /opt/signoz-schema-migrator/bin - $STD ./signoz-schema-migrator sync --dsn="tcp://localhost:9000?password=" --replication=true --up= - $STD ./signoz-schema-migrator async --dsn="tcp://localhost:9000?password=" --replication=true --up= + $STD ./signoz-schema-migrator sync --dsn="tcp://localhost:9000?password=" --replication=true --up= + $STD ./signoz-schema-migrator async --dsn="tcp://localhost:9000?password=" --replication=true --up= msg_ok "Updated $APP" msg_info "Starting Services" diff --git a/ct/silverbullet.sh b/ct/silverbullet.sh index 2bfeb5b59..737c94eec 100644 --- a/ct/silverbullet.sh +++ b/ct/silverbullet.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_disk="${var_disk:-2}" var_ram="${var_ram:-512}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" header_info "${APP}" variables diff --git a/ct/slskd.sh b/ct/slskd.sh index 3b8c305bc..89c45d298 100644 --- a/ct/slskd.sh +++ b/ct/slskd.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-512}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/smokeping.sh b/ct/smokeping.sh index acf59d42a..b49f0b5dd 100644 --- a/ct/smokeping.sh +++ b/ct/smokeping.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-512}" var_disk="${var_disk:-2}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -29,8 +29,8 @@ function update_script() { fi msg_info "Updating ${APP}" - $STD apt-get update - $STD apt-get -y upgrade + $STD apt update + $STD apt -y upgrade msg_ok "Updated Successfully" exit } @@ -42,4 +42,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}/smokeping${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}/smokeping${CL}" diff --git a/ct/snipeit.sh b/ct/snipeit.sh index 64b9b10f2..f00f65dc3 100644 --- a/ct/snipeit.sh +++ b/ct/snipeit.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -46,8 +46,8 @@ function update_script() { setup_composer msg_info "Updating ${APP}" - $STD apt-get update - $STD apt-get -y upgrade + $STD apt update + $STD apt -y upgrade cp /opt/snipe-it-backup/.env /opt/snipe-it/.env cp -r /opt/snipe-it-backup/public/uploads/ /opt/snipe-it/public/uploads/ cp -r /opt/snipe-it-backup/storage/private_uploads /opt/snipe-it/storage/private_uploads diff --git a/ct/sonarr.sh b/ct/sonarr.sh index 8515fb1c6..78e4f50e9 100644 --- a/ct/sonarr.sh +++ b/ct/sonarr.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-1024}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/spoolman.sh b/ct/spoolman.sh index 44e9c534a..2698e0728 100644 --- a/ct/spoolman.sh +++ b/ct/spoolman.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-1024}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/sqlserver2022.sh b/ct/sqlserver2022.sh index 3ebacbdd9..e7533986f 100644 --- a/ct/sqlserver2022.sh +++ b/ct/sqlserver2022.sh @@ -28,8 +28,8 @@ function update_script() { exit fi msg_info "Updating ${APP} LXC" - $STD apt-get update - $STD apt-get -y upgrade + $STD apt update + $STD apt -y upgrade msg_ok "Updated Successfully" exit } @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following IP:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}${IP}:1433${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}${IP}:1433${CL}" diff --git a/ct/stirling-pdf.sh b/ct/stirling-pdf.sh index b487e3dd5..96906dc1d 100644 --- a/ct/stirling-pdf.sh +++ b/ct/stirling-pdf.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-8}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/streamlink-webui.sh b/ct/streamlink-webui.sh index 9170ae9b4..9de0ec7af 100644 --- a/ct/streamlink-webui.sh +++ b/ct/streamlink-webui.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-10}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/stylus.sh b/ct/stylus.sh index b9ebaaa8b..67a88c31c 100644 --- a/ct/stylus.sh +++ b/ct/stylus.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-1024}" var_disk="${var_disk:-2}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" var_fuse="${var_fuse:-1}" diff --git a/ct/suwayomiserver.sh b/ct/suwayomiserver.sh index 5cd947f4a..bc6d654a4 100644 --- a/ct/suwayomiserver.sh +++ b/ct/suwayomiserver.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-1024}" var_disk="${var_disk:-4}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/swizzin.sh b/ct/swizzin.sh index e6c58096d..96a7cdfb1 100644 --- a/ct/swizzin.sh +++ b/ct/swizzin.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-4096}" var_disk="${var_disk:-20}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/ct/syncthing.sh b/ct/syncthing.sh index 7d607fe11..38d733616 100644 --- a/ct/syncthing.sh +++ b/ct/syncthing.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" var_disk="${var_disk:-8}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -20,18 +20,18 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -f /etc/apt/sources.list.d/syncthing.list ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating ${APP} LXC" - $STD apt-get update - $STD apt-get -y upgrade - msg_ok "Updated Successfully" + header_info + check_container_storage + check_container_resources + if [[ ! -f /etc/apt/sources.list.d/syncthing.list ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating ${APP} LXC" + $STD apt update + $STD apt -y upgrade + msg_ok "Updated Successfully" + exit } start @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8384${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8384${CL}" diff --git a/frontend/public/json/qbittorrent.json b/frontend/public/json/qbittorrent.json index 23cf38385..fd98a2565 100644 --- a/frontend/public/json/qbittorrent.json +++ b/frontend/public/json/qbittorrent.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 8, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/rabbitmq.json b/frontend/public/json/rabbitmq.json index 6f73043a0..ea4504148 100644 --- a/frontend/public/json/rabbitmq.json +++ b/frontend/public/json/rabbitmq.json @@ -23,7 +23,7 @@ "ram": 1024, "hdd": 4, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/radarr.json b/frontend/public/json/radarr.json index 0a168e6bd..add716a24 100644 --- a/frontend/public/json/radarr.json +++ b/frontend/public/json/radarr.json @@ -23,7 +23,7 @@ "ram": 1024, "hdd": 4, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/radicale.json b/frontend/public/json/radicale.json index 3900a904b..6beeda137 100644 --- a/frontend/public/json/radicale.json +++ b/frontend/public/json/radicale.json @@ -23,7 +23,7 @@ "ram": 512, "hdd": 2, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/rclone.json b/frontend/public/json/rclone.json index 08583f805..16f34357d 100644 --- a/frontend/public/json/rclone.json +++ b/frontend/public/json/rclone.json @@ -20,10 +20,10 @@ "script": "ct/rclone.sh", "resources": { "cpu": 1, - "ram": 256, - "hdd": 1, + "ram": 512, + "hdd": 2, "os": "debian", - "version": "12" + "version": "13" } }, { diff --git a/frontend/public/json/rdtclient.json b/frontend/public/json/rdtclient.json index 79b34ba83..e950aeae8 100644 --- a/frontend/public/json/rdtclient.json +++ b/frontend/public/json/rdtclient.json @@ -23,7 +23,7 @@ "ram": 1024, "hdd": 4, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/reactive-resume.json b/frontend/public/json/reactive-resume.json index a85cb90e9..bba56fcad 100644 --- a/frontend/public/json/reactive-resume.json +++ b/frontend/public/json/reactive-resume.json @@ -22,8 +22,8 @@ "cpu": 2, "ram": 4096, "hdd": 8, - "os": "Debian", - "version": "12" + "os": "debian", + "version": "13" } } ], diff --git a/frontend/public/json/readeck.json b/frontend/public/json/readeck.json index a41209953..f3ecbee6c 100644 --- a/frontend/public/json/readeck.json +++ b/frontend/public/json/readeck.json @@ -23,7 +23,7 @@ "ram": 512, "hdd": 2, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/recyclarr.json b/frontend/public/json/recyclarr.json index 3a82e05d7..6bc3110bf 100644 --- a/frontend/public/json/recyclarr.json +++ b/frontend/public/json/recyclarr.json @@ -23,7 +23,7 @@ "ram": 512, "hdd": 2, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/redis.json b/frontend/public/json/redis.json index 04a8e8a4b..b4b2b369b 100644 --- a/frontend/public/json/redis.json +++ b/frontend/public/json/redis.json @@ -23,7 +23,7 @@ "ram": 1024, "hdd": 4, "os": "debian", - "version": "12" + "version": "13" } }, { diff --git a/frontend/public/json/resiliosync.json b/frontend/public/json/resiliosync.json index d943b075a..0c7f3e17f 100644 --- a/frontend/public/json/resiliosync.json +++ b/frontend/public/json/resiliosync.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 8, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/revealjs.json b/frontend/public/json/revealjs.json index fcd4d099b..1a2358777 100644 --- a/frontend/public/json/revealjs.json +++ b/frontend/public/json/revealjs.json @@ -23,7 +23,7 @@ "ram": 1024, "hdd": 4, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/runtipi.json b/frontend/public/json/runtipi.json index 771ccbe5a..83afaed27 100644 --- a/frontend/public/json/runtipi.json +++ b/frontend/public/json/runtipi.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 8, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/rustdeskserver.json b/frontend/public/json/rustdeskserver.json index 8e3ab60f6..476dfb7c9 100644 --- a/frontend/public/json/rustdeskserver.json +++ b/frontend/public/json/rustdeskserver.json @@ -23,7 +23,7 @@ "ram": 512, "hdd": 2, "os": "debian", - "version": "12" + "version": "13" } }, { diff --git a/frontend/public/json/sabnzbd.json b/frontend/public/json/sabnzbd.json index cef95e4a0..05e7bef74 100644 --- a/frontend/public/json/sabnzbd.json +++ b/frontend/public/json/sabnzbd.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 5, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/salt.json b/frontend/public/json/salt.json index 096c4ee00..8acb25432 100644 --- a/frontend/public/json/salt.json +++ b/frontend/public/json/salt.json @@ -23,7 +23,7 @@ "ram": 1024, "hdd": 3, "os": "Debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/scraparr.json b/frontend/public/json/scraparr.json index 24708478a..e03a1fe7b 100644 --- a/frontend/public/json/scraparr.json +++ b/frontend/public/json/scraparr.json @@ -23,7 +23,7 @@ "ram": 1024, "hdd": 4, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/searxng.json b/frontend/public/json/searxng.json index f56c42044..6086fc68d 100644 --- a/frontend/public/json/searxng.json +++ b/frontend/public/json/searxng.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 7, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/seelf.json b/frontend/public/json/seelf.json index cea88d6af..2a9b1e163 100644 --- a/frontend/public/json/seelf.json +++ b/frontend/public/json/seelf.json @@ -23,7 +23,7 @@ "ram": 4096, "hdd": 10, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/semaphore.json b/frontend/public/json/semaphore.json index a3a4ca873..aca67155e 100644 --- a/frontend/public/json/semaphore.json +++ b/frontend/public/json/semaphore.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 4, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/sftpgo.json b/frontend/public/json/sftpgo.json index 747b73a3a..caed16c55 100644 --- a/frontend/public/json/sftpgo.json +++ b/frontend/public/json/sftpgo.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 4, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/signoz.json b/frontend/public/json/signoz.json index 8843f61b8..48e09da1c 100644 --- a/frontend/public/json/signoz.json +++ b/frontend/public/json/signoz.json @@ -23,7 +23,7 @@ "ram": 4096, "hdd": 20, "os": "Debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/silverbullet.json b/frontend/public/json/silverbullet.json index 7658c45ae..481aedf1d 100644 --- a/frontend/public/json/silverbullet.json +++ b/frontend/public/json/silverbullet.json @@ -23,7 +23,7 @@ "ram": 512, "hdd": 2, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/slskd.json b/frontend/public/json/slskd.json index 69b254ae6..515a97bbf 100644 --- a/frontend/public/json/slskd.json +++ b/frontend/public/json/slskd.json @@ -23,7 +23,7 @@ "ram": 512, "hdd": 4, "os": "Debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/smokeping.json b/frontend/public/json/smokeping.json index 0b9c4346e..e9d31e352 100644 --- a/frontend/public/json/smokeping.json +++ b/frontend/public/json/smokeping.json @@ -23,7 +23,7 @@ "ram": 512, "hdd": 2, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/snipeit.json b/frontend/public/json/snipeit.json index b8f9b0ad1..143a8cb99 100644 --- a/frontend/public/json/snipeit.json +++ b/frontend/public/json/snipeit.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 4, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/sonarr.json b/frontend/public/json/sonarr.json index 336e43075..74654bb1a 100644 --- a/frontend/public/json/sonarr.json +++ b/frontend/public/json/sonarr.json @@ -23,7 +23,7 @@ "ram": 1024, "hdd": 4, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/spoolman.json b/frontend/public/json/spoolman.json index 7a116e5d6..00a472cb1 100644 --- a/frontend/public/json/spoolman.json +++ b/frontend/public/json/spoolman.json @@ -23,7 +23,7 @@ "ram": 1024, "hdd": 4, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/stirling-pdf.json b/frontend/public/json/stirling-pdf.json index 72086fa27..636626c43 100644 --- a/frontend/public/json/stirling-pdf.json +++ b/frontend/public/json/stirling-pdf.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 8, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/streamlink-webui.json b/frontend/public/json/streamlink-webui.json index 2aadd95de..7f424bdd5 100644 --- a/frontend/public/json/streamlink-webui.json +++ b/frontend/public/json/streamlink-webui.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 5, "os": "Debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/stylus.json b/frontend/public/json/stylus.json index 298c3ae8d..191b340a7 100644 --- a/frontend/public/json/stylus.json +++ b/frontend/public/json/stylus.json @@ -23,7 +23,7 @@ "ram": 1024, "hdd": 2, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/suwayomi-server.json b/frontend/public/json/suwayomi-server.json index dba29be78..fc0a49a9e 100644 --- a/frontend/public/json/suwayomi-server.json +++ b/frontend/public/json/suwayomi-server.json @@ -23,7 +23,7 @@ "ram": 1024, "hdd": 4, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/swizzin.json b/frontend/public/json/swizzin.json index 75c30614d..2276a8cd7 100644 --- a/frontend/public/json/swizzin.json +++ b/frontend/public/json/swizzin.json @@ -23,7 +23,7 @@ "ram": 4096, "hdd": 20, "os": "Debian", - "version": "12" + "version": "13" } } ], diff --git a/frontend/public/json/syncthing.json b/frontend/public/json/syncthing.json index 8b5776924..ba4afff1c 100644 --- a/frontend/public/json/syncthing.json +++ b/frontend/public/json/syncthing.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 8, "os": "debian", - "version": "12" + "version": "13" } }, { diff --git a/install/qbittorrent-install.sh b/install/qbittorrent-install.sh index 7bf7e66ae..e2c12cb94 100644 --- a/install/qbittorrent-install.sh +++ b/install/qbittorrent-install.sh @@ -52,6 +52,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/rabbitmq-install.sh b/install/rabbitmq-install.sh index 449ceaf9e..4980950bc 100644 --- a/install/rabbitmq-install.sh +++ b/install/rabbitmq-install.sh @@ -15,7 +15,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ +$STD apt install -y \ lsb-release \ apt-transport-https \ make @@ -38,11 +38,11 @@ EOF msg_ok "RabbitMQ repository added" msg_info "Updating package list" -$STD apt-get update -y +$STD apt update -y msg_ok "Package list updated" msg_info "Installing Erlang & RabbitMQ server" -$STD apt-get install -y erlang-base \ +$STD apt install -y erlang-base \ erlang-asn1 erlang-crypto erlang-eldap erlang-ftp erlang-inets \ erlang-mnesia erlang-os-mon erlang-parsetools erlang-public-key \ erlang-runtime-tools erlang-snmp erlang-ssl \ @@ -69,6 +69,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/radarr-install.sh b/install/radarr-install.sh index 2788617ca..5a0a1a2e0 100644 --- a/install/radarr-install.sh +++ b/install/radarr-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y sqlite3 +$STD apt install -y sqlite3 msg_ok "Installed Dependencies" fetch_and_deploy_gh_release "Radarr" "Radarr/Radarr" "prebuild" "latest" "/opt/Radarr" "Radarr.master*linux-core-x64.tar.gz" @@ -48,6 +48,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/radicale-install.sh b/install/radicale-install.sh index bed34b116..d4231ee27 100644 --- a/install/radicale-install.sh +++ b/install/radicale-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ +$STD apt install -y \ apache2-utils \ python3-pip \ python3.11-venv @@ -65,6 +65,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/rclone-install.sh b/install/rclone-install.sh index 3fb65c729..2cd6ee2ca 100644 --- a/install/rclone-install.sh +++ b/install/rclone-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y apache2-utils fuse3 +$STD apt install -y apache2-utils fuse3 msg_ok "Installed Dependencies" fetch_and_deploy_gh_release "rclone" "rclone/rclone" "prebuild" "latest" "/opt/rclone" "rclone*linux-amd64.zip" @@ -53,6 +53,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/rdtclient-install.sh b/install/rdtclient-install.sh index a4b61cbac..5b606b913 100644 --- a/install/rdtclient-install.sh +++ b/install/rdtclient-install.sh @@ -16,8 +16,8 @@ update_os msg_info "Installing ASP.NET Core Runtime" curl -fsSL "https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb" -o packages-microsoft-prod.deb $STD dpkg -i packages-microsoft-prod.deb -$STD apt-get update -$STD apt-get install -y dotnet-sdk-9.0 +$STD apt update +$STD apt install -y dotnet-sdk-9.0 msg_ok "Installed ASP.NET Core Runtime" fetch_and_deploy_gh_release "rdt-client" "rogerfar/rdt-client" "prebuild" "latest" "/opt/rdtc" "RealDebridClient.zip" @@ -50,6 +50,7 @@ customize msg_info "Cleaning up" rm -f ~/packages-microsoft-prod.deb -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/reactive-resume-install.sh b/install/reactive-resume-install.sh index 750ae0b10..f1585e55a 100644 --- a/install/reactive-resume-install.sh +++ b/install/reactive-resume-install.sh @@ -173,6 +173,7 @@ customize msg_info "Cleaning up" rm -f /tmp/v"$TAG".zip rm -f /tmp/minio.deb -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/readarr-install.sh b/install/readarr-install.sh index 186d7d424..917422885 100644 --- a/install/readarr-install.sh +++ b/install/readarr-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y sqlite3 +$STD apt install -y sqlite3 msg_ok "Installed Dependencies" msg_info "Installing Readarr" @@ -51,6 +51,7 @@ customize msg_info "Cleaning up" rm -rf Readarr.develop.*.tar.gz -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/readeck-install.sh b/install/readeck-install.sh index 9541a2e9d..eb7f1cd2d 100644 --- a/install/readeck-install.sh +++ b/install/readeck-install.sh @@ -44,6 +44,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/recyclarr-install.sh b/install/recyclarr-install.sh index 949651542..f177c9bed 100644 --- a/install/recyclarr-install.sh +++ b/install/recyclarr-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y git +$STD apt install -y git msg_ok "Installed Dependencies" fetch_and_deploy_gh_release "recyclarr" "recyclarr/recyclarr" "prebuild" "latest" "/usr/local/bin" "recyclarr-linux-x64.tar.xz" @@ -28,6 +28,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/redis-install.sh b/install/redis-install.sh index 53d3a0ce6..b1353956c 100644 --- a/install/redis-install.sh +++ b/install/redis-install.sh @@ -14,15 +14,22 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y apt-transport-https -$STD apt-get install -y lsb-release +$STD apt install -y \ + apt-transport-https \ + lsb-release msg_ok "Installed Dependencies" msg_info "Installing Redis" curl -fsSL "https://packages.redis.io/gpg" | gpg --dearmor >/usr/share/keyrings/redis-archive-keyring.gpg -echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" >/etc/apt/sources.list.d/redis.list -$STD apt-get update -$STD apt-get install -y redis +cat </etc/apt/sources.list.d/redis.sources +Types: deb +URIs: https://packages.redis.io/deb +Suites: $(lsb_release -cs) +Components: main +Signed-By: /usr/share/keyrings/redis-archive-keyring.gpg +EOF +$STD apt update +$STD apt install -y redis sed -i 's/^bind .*/bind 0.0.0.0/' /etc/redis/redis.conf systemctl enable -q --now redis-server msg_ok "Installed Redis" @@ -31,6 +38,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/resiliosync-install.sh b/install/resiliosync-install.sh index 3bedb8298..4cb36beec 100644 --- a/install/resiliosync-install.sh +++ b/install/resiliosync-install.sh @@ -14,13 +14,19 @@ network_check update_os msg_info "Setting up Resilio Sync Repository" -curl -fsSL "https://linux-packages.resilio.com/resilio-sync/key.asc" >/etc/apt/trusted.gpg.d/resilio-sync.asc -echo "deb [signed-by=/etc/apt/trusted.gpg.d/resilio-sync.asc] http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free" >/etc/apt/sources.list.d/resilio-sync.list -$STD apt-get update +curl -fsSL "https://linux-packages.resilio.com/resilio-sync/key.asc" >/usr/share/keyrings/resilio-sync-archive-keyring.asc +cat </etc/apt/sources.list.d/resilio-sync.sources +Types: deb +URIs: http://linux-packages.resilio.com/resilio-sync/deb +Suites: resilio-sync +Components: non-free +Signed-By: /usr/share/keyrings/resilio-sync-archive-keyring.asc +EOF +$STD apt update msg_ok "Resilio Sync Repository Setup" msg_info "Installing Resilio Sync" -$STD apt-get install -y resilio-sync +$STD apt install -y resilio-sync sed -i "s/127.0.0.1:8888/0.0.0.0:8888/g" /etc/resilio-sync/config.json systemctl enable -q resilio-sync systemctl restart resilio-sync @@ -30,6 +36,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/revealjs-install.sh b/install/revealjs-install.sh index 9d1fbaee1..8f3a2893b 100644 --- a/install/revealjs-install.sh +++ b/install/revealjs-install.sh @@ -45,6 +45,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/runtipi-install.sh b/install/runtipi-install.sh index 5bd35f861..3c58a6280 100644 --- a/install/runtipi-install.sh +++ b/install/runtipi-install.sh @@ -40,6 +40,7 @@ customize msg_info "Cleaning up" rm /opt/install.sh -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/rustdeskserver-install.sh b/install/rustdeskserver-install.sh index f2555ac2e..a3d0caae7 100644 --- a/install/rustdeskserver-install.sh +++ b/install/rustdeskserver-install.sh @@ -22,6 +22,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/sabnzbd-install.sh b/install/sabnzbd-install.sh index 49b396689..1036a8a34 100644 --- a/install/sabnzbd-install.sh +++ b/install/sabnzbd-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ +$STD apt install -y \ par2 \ p7zip-full msg_ok "Installed Dependencies" @@ -27,8 +27,8 @@ msg_info "Setup Unrar" cat </etc/apt/sources.list.d/non-free.list deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware EOF -$STD apt-get update -$STD apt-get install -y unrar +$STD apt update +$STD apt install -y unrar rm /etc/apt/sources.list.d/non-free.list msg_ok "Setup Unrar" @@ -66,6 +66,7 @@ customize msg_info "Cleaning up" rm -f "$temp_file" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/salt-install.sh b/install/salt-install.sh index 4fe29a824..f655f587f 100644 --- a/install/salt-install.sh +++ b/install/salt-install.sh @@ -14,14 +14,14 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y jq +$STD apt install -y jq msg_ok "Installed Dependencies" msg_info "Setup Salt Repo" mkdir -p /etc/apt/keyrings curl -fsSL https://packages.broadcom.com/artifactory/api/security/keypair/SaltProjectKey/public -o /etc/apt/keyrings/salt-archive-keyring.pgp curl -fsSL https://github.com/saltstack/salt-install-guide/releases/latest/download/salt.sources -o /etc/apt/sources.list.d/salt.sources -$STD apt-get update +$STD apt update msg_ok "Setup Salt Repo" msg_info "Installing Salt" @@ -31,7 +31,7 @@ Package: salt-* Pin: version ${RELEASE} Pin-Priority: 1001 EOF -$STD apt-get install -y salt-master +$STD apt install -y salt-master echo "${RELEASE}" >/~.salt msg_ok "Installed Salt" @@ -39,6 +39,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/scraparr-install.sh b/install/scraparr-install.sh index 8c0de782c..36f27276b 100644 --- a/install/scraparr-install.sh +++ b/install/scraparr-install.sh @@ -51,6 +51,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/searxng-install.sh b/install/searxng-install.sh index 69376f418..66967d6a2 100644 --- a/install/searxng-install.sh +++ b/install/searxng-install.sh @@ -14,9 +14,14 @@ network_check update_os msg_info "Installing SearXNG dependencies" -echo "deb http://deb.debian.org/debian bookworm-backports main" >/etc/apt/sources.list.d/backports.list -$STD apt-get update -$STD apt-get install -y \ +cat </etc/apt/sources.list.d/backports.sources +Types: deb +URIs: http://deb.debian.org/debian +Suites: trixie-backports +Components: main +EOF +$STD apt update +$STD apt install -y \ python3-dev python3-babel python3-venv python-is-python3 \ uwsgi uwsgi-plugin-python3 \ git build-essential libxslt-dev zlib1g-dev libffi-dev libssl-dev sudo valkey @@ -111,6 +116,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get autoremove -$STD apt-get autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/seelf-install.sh b/install/seelf-install.sh index 174aa18ce..05072c1ef 100644 --- a/install/seelf-install.sh +++ b/install/seelf-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ +$STD apt install -y \ make \ gcc msg_ok "Installed Dependencies" @@ -63,6 +63,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/semaphore-install.sh b/install/semaphore-install.sh index 03abe2f4e..f3325035a 100644 --- a/install/semaphore-install.sh +++ b/install/semaphore-install.sh @@ -14,12 +14,18 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y git +$STD apt install -y git msg_ok "Installed Dependencies" msg_info "Setting up Ansible" curl -fsSL "https://keyserver.ubuntu.com/pks/lookup?fingerprint=on&op=get&search=0x6125E2A8C77F2818FB7BD15B93C4A3FD7BB9C367" | gpg --dearmor -o /usr/share/keyrings/ansible-archive-keyring.gpg -echo "deb [signed-by=/usr/share/keyrings/ansible-archive-keyring.gpg] http://ppa.launchpad.net/ansible/ansible/ubuntu jammy main" >/etc/apt/sources.list.d/ansible.list +cat </etc/apt/sources.list.d/ansible.sources +Types: deb +URIs: http://ppa.launchpad.net/ansible/ansible/ubuntu +Suites: jammy +Components: main +Signed-By: /usr/share/keyrings/ansible-archive-keyring.gpg +EOF $STD apt update $STD apt install -y ansible msg_ok "Set up Ansible" @@ -72,6 +78,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/sftpgo-install.sh b/install/sftpgo-install.sh index 91df27d3f..c7fece8d0 100644 --- a/install/sftpgo-install.sh +++ b/install/sftpgo-install.sh @@ -14,22 +14,29 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y sqlite3 +$STD apt install -y sqlite3 msg_ok "Installed Dependencies" setup_go msg_info "Installing SFTPGo" curl -fsSL https://ftp.osuosl.org/pub/sftpgo/apt/gpg.key | gpg --dearmor -o /usr/share/keyrings/sftpgo-archive-keyring.gpg -echo "deb [signed-by=/usr/share/keyrings/sftpgo-archive-keyring.gpg] https://ftp.osuosl.org/pub/sftpgo/apt bookworm main" >/etc/apt/sources.list.d/sftpgo.list -$STD apt-get update -$STD apt-get install -y sftpgo +cat </etc/apt/sources.list.d/sftpgo.sources +Types: deb +URIs: https://ftp.osuosl.org/pub/sftpgo/apt +Suites: bookworm +Components: main +Signed-By: /usr/share/keyrings/sftpgo-archive-keyring.gpg +EOF +$STD apt update +$STD apt install -y sftpgo msg_ok "Installed SFTPGo" motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/signoz-install.sh b/install/signoz-install.sh index f24b65f38..647660c1f 100644 --- a/install/signoz-install.sh +++ b/install/signoz-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ +$STD apt install -y \ apt-transport-https \ ca-certificates msg_ok "Installed Dependencies" @@ -23,10 +23,17 @@ JAVA_VERSION="21" setup_java msg_info "Setting up ClickHouse" curl -fsSL "https://packages.clickhouse.com/rpm/lts/repodata/repomd.xml.key" | gpg --dearmor -o /usr/share/keyrings/clickhouse-keyring.gpg -echo "deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg arch=amd64] https://packages.clickhouse.com/deb stable main" >/etc/apt/sources.list.d/clickhouse.list -$STD apt-get update +cat </etc/apt/sources.list.d/clickhouse.sources +Types: deb +URIs: https://packages.clickhouse.com/deb +Suites: stable +Components: main +Architectures: amd64 +Signed-By: /usr/share/keyrings/clickhouse-keyring.gpg +EOF +$STD apt update export DEBIAN_FRONTEND=noninteractive -$STD apt-get install -y clickhouse-server clickhouse-client +$STD apt install -y clickhouse-server clickhouse-client msg_ok "Setup ClickHouse" msg_info "Setting up Zookeeper" @@ -258,6 +265,7 @@ customize msg_info "Cleaning up" rm -rf ~/zookeeper.tar.gz rm -rf ~/apache-zookeeper-*-bin -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/silverbullet-install.sh b/install/silverbullet-install.sh index 64e211ef2..6c476e1e6 100644 --- a/install/silverbullet-install.sh +++ b/install/silverbullet-install.sh @@ -39,6 +39,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/slskd-install.sh b/install/slskd-install.sh index b4b3d8b12..c918d5664 100644 --- a/install/slskd-install.sh +++ b/install/slskd-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ +$STD apt install -y \ python3-pip msg_ok "Installed Dependencies" @@ -116,6 +116,7 @@ customize msg_info "Cleaning up" rm -rf $tmp_file rm -rf /tmp/main.zip -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/smokeping-install.sh b/install/smokeping-install.sh index f5a3a3814..aa30bc8a4 100644 --- a/install/smokeping-install.sh +++ b/install/smokeping-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing SmokePing" -$STD apt-get install -y smokeping +$STD apt install -y smokeping cat </etc/smokeping/config.d/Targets *** Targets *** probe = FPing @@ -66,6 +66,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/snipeit-install.sh b/install/snipeit-install.sh index a3e9a268d..31202ea66 100644 --- a/install/snipeit-install.sh +++ b/install/snipeit-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ +$STD apt install -y \ git \ nginx msg_ok "Installed Dependencies" @@ -86,6 +86,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/sonarr-install.sh b/install/sonarr-install.sh index 7b98483cd..3c7e2bff6 100644 --- a/install/sonarr-install.sh +++ b/install/sonarr-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y sqlite3 +$STD apt install -y sqlite3 msg_ok "Installed Dependencies" msg_info "Installing Sonarr v4" @@ -48,6 +48,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/spoolman-install.sh b/install/spoolman-install.sh index 3dac88343..be888ed76 100644 --- a/install/spoolman-install.sh +++ b/install/spoolman-install.sh @@ -15,7 +15,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ +$STD apt install -y \ build-essential \ make \ libpq-dev \ @@ -23,7 +23,7 @@ $STD apt-get install -y \ msg_ok "Installed Dependencies" msg_info "Setup Python3" -$STD apt-get install -y \ +$STD apt install -y \ python3-dev \ python3-setuptools \ python3-wheel \ @@ -66,6 +66,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/stirling-pdf-install.sh b/install/stirling-pdf-install.sh index 1d43623da..691eeda3b 100644 --- a/install/stirling-pdf-install.sh +++ b/install/stirling-pdf-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies (Patience)" -$STD apt-get install -y \ +$STD apt install -y \ automake \ autoconf \ libtool \ @@ -45,7 +45,7 @@ else fi msg_info "Installing LibreOffice Components" -$STD apt-get install -y \ +$STD apt install -y \ libreoffice-writer \ libreoffice-calc \ libreoffice-impress \ @@ -71,7 +71,7 @@ $STD uv pip install \ pillow \ pdf2image -$STD apt-get install -y python3-uno python3-pip +$STD apt install -y python3-uno python3-pip $STD pip3 install --break-system-packages unoserver ln -sf /opt/.venv/bin/python3 /usr/local/bin/python3 ln -sf /opt/.venv/bin/pip /usr/local/bin/pip @@ -89,7 +89,7 @@ $STD make install msg_ok "Installed JBIG2" msg_info "Installing Language Packs (Patience)" -$STD apt-get install -y 'tesseract-ocr-*' +$STD apt install -y 'tesseract-ocr-*' msg_ok "Installed Language Packs" msg_info "Creating Environment Variables" @@ -196,6 +196,7 @@ customize msg_info "Cleaning up" rm -f /tmp/jbig2enc.tar.gz -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/streamlink-webui-install.sh b/install/streamlink-webui-install.sh index 3c61e36ad..e513d7a41 100644 --- a/install/streamlink-webui-install.sh +++ b/install/streamlink-webui-install.sh @@ -61,6 +61,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/stylus-install.sh b/install/stylus-install.sh index 7d3af99c9..8f69d546c 100644 --- a/install/stylus-install.sh +++ b/install/stylus-install.sh @@ -41,6 +41,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned up" diff --git a/install/suwayomiserver-install.sh b/install/suwayomiserver-install.sh index 86d929d70..39fc1fa23 100644 --- a/install/suwayomiserver-install.sh +++ b/install/suwayomiserver-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y libc++-dev +$STD apt install -y libc++-dev msg_ok "Installed Dependencies" JAVA_VERSION=21 setup_java @@ -40,6 +40,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/swizzin-install.sh b/install/swizzin-install.sh index aff5c85dc..9b0211ff5 100644 --- a/install/swizzin-install.sh +++ b/install/swizzin-install.sh @@ -29,6 +29,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned" diff --git a/install/syncthing-install.sh b/install/syncthing-install.sh index 3074da955..de5144ee1 100644 --- a/install/syncthing-install.sh +++ b/install/syncthing-install.sh @@ -14,14 +14,20 @@ network_check update_os msg_info "Setting up Syncthing repo" -mkdir -p /etc/apt/keyrings -curl -fsSL "https://syncthing.net/release-key.gpg" -o /etc/apt/keyrings/syncthing-archive-keyring.gpg -echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable-v2" >/etc/apt/sources.list.d/syncthing.list -$STD apt-get update +mkdir -p /usr/share/keyrings +curl -fsSL "https://syncthing.net/release-key.gpg" -o /usr/share/keyrings/syncthing-archive-keyring.gpg +cat </etc/apt/sources.list.d/syncthing.sources +Types: deb +URIs: https://apt.syncthing.net/ +Suites: syncthing +Components: stable-v2 +Signed-By: /usr/share/keyrings/syncthing-archive-keyring.gpg +EOF +$STD apt update msg_ok "Set up Syncthing repo" msg_info "Installing Syncthing" -$STD apt-get install -y syncthing +$STD apt install -y syncthing systemctl enable -q --now syncthing@root sleep 5 sed -i "{s/127.0.0.1:8384/0.0.0.0:8384/g}" /root/.local/state/syncthing/config.xml @@ -32,6 +38,7 @@ motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean msg_ok "Cleaned"