From cc801353f84618a3b9963e31aae0dbbc441c7e02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Fri, 23 Jan 2026 08:44:26 +0100 Subject: [PATCH] FHEM: Bump to Debian 13 (#11061) * bump * Update --- ct/fhem.sh | 10 ++++++---- frontend/public/json/fhem.json | 2 +- install/fhem-install.sh | 19 ++++++++++--------- 3 files changed, 17 insertions(+), 14 deletions(-) diff --git a/ct/fhem.sh b/ct/fhem.sh index 41aa58c0b..8c4057b53 100644 --- a/ct/fhem.sh +++ b/ct/fhem.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" @@ -27,9 +27,11 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - msg_info "Updating ${APP} LXC" - $STD apt-get update - $STD apt-get -y upgrade + + msg_info "Updating FHEM" + $STD apt update + $STD apt upgrade -y + msg_ok "Updated FHEM" msg_ok "Updated successfully!" exit } diff --git a/frontend/public/json/fhem.json b/frontend/public/json/fhem.json index 2e50441da..247a29e1e 100644 --- a/frontend/public/json/fhem.json +++ b/frontend/public/json/fhem.json @@ -23,7 +23,7 @@ "ram": 2048, "hdd": 8, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/install/fhem-install.sh b/install/fhem-install.sh index 520620b52..eb4a6f878 100644 --- a/install/fhem-install.sh +++ b/install/fhem-install.sh @@ -14,18 +14,19 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y avahi-daemon +$STD apt install -y avahi-daemon msg_ok "Installed Dependencies" -msg_info "Setting up Fhem Repository" -curl -fsSL https://debian.fhem.de/archive.key | gpg --dearmor >/etc/apt/trusted.gpg.d/debianfhemde-archive-keyring.gpg -echo 'deb [signed-by=/etc/apt/trusted.gpg.d/debianfhemde-archive-keyring.gpg] https://debian.fhem.de/nightly/ /' >/etc/apt/sources.list.d/fhem.list -msg_ok "Set up Fhem Repository" +setup_deb822_repo \ + "fhem" \ + "https://debian.fhem.de/archive.key" \ + "https://debian.fhem.de/nightly/" \ + "/" \ + " " -msg_info "Installing Fhem" -$STD apt-get update -$STD apt-get install -y fhem -msg_info "Installed Fhem" +msg_info "Setting up FHEM" +$STD apt install -y fhem +msg_ok "Setup FHEM" motd_ssh customize