From 5c0ce0959e643321ffb82301da8e6e3a04e77cbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Sat, 18 Oct 2025 00:46:19 +0200 Subject: [PATCH] GLPI: Bump to Debian 13 base (#8443) --- ct/glpi.sh | 4 ++-- frontend/public/json/glpi.json | 2 +- install/glpi-install.sh | 7 ++++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ct/glpi.sh b/ct/glpi.sh index d03b80be8..f75dac17b 100644 --- a/ct/glpi.sh +++ b/ct/glpi.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" @@ -44,4 +44,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}:80${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:80${CL}" diff --git a/frontend/public/json/glpi.json b/frontend/public/json/glpi.json index 131e2457e..81eaa1039 100644 --- a/frontend/public/json/glpi.json +++ b/frontend/public/json/glpi.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 10, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/install/glpi-install.sh b/install/glpi-install.sh index 7751b9e23..d34461ded 100644 --- a/install/glpi-install.sh +++ b/install/glpi-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ +$STD apt install -y \ git \ apache2 \ php8.4-{apcu,cli,common,curl,gd,ldap,mysql,xmlrpc,xml,mbstring,bcmath,intl,zip,redis,bz2,soap} \ @@ -156,6 +156,7 @@ customize msg_info "Cleaning up" rm -rf /opt/glpi/install rm -rf /opt/glpi-${RELEASE}.tgz -$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"