From b6c102ee295e549c44a71e093ba857a439196623 Mon Sep 17 00:00:00 2001 From: humocs-man <251756307+humocs-man@users.noreply.github.com> Date: Sat, 14 Mar 2026 15:07:02 +0100 Subject: [PATCH] Fix bootc timer name and update Collabora installation Updated the timer name for bootc automatic updates and modified the installation command for Collabora Office. --- .../etc/skel/.config/firstboot/firstboot-setup.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/files/etc/skel/.config/firstboot/firstboot-setup.sh b/files/etc/skel/.config/firstboot/firstboot-setup.sh index 7b782af..f43100b 100644 --- a/files/etc/skel/.config/firstboot/firstboot-setup.sh +++ b/files/etc/skel/.config/firstboot/firstboot-setup.sh @@ -219,11 +219,21 @@ Empfohlen für die meisten Nutzer.\n Möchtest du automatische Updates aktivieren?" then echo "Aktiviere automatische Updates…" - systemctl enable --now bootc-update.timer + + BOOTC_TIMER=$(systemctl list-unit-files \ + | awk '/bootc-.*fetch.*apply.*updates.*\.timer/ {print $1; exit}') + + if [ -n "$BOOTC_TIMER" ]; then + systemctl enable --now "$BOOTC_TIMER" + else + echo "Kein bootc Auto-Update Timer gefunden." >> /tmp/firstboot-debug.log + fi + else echo "Automatische Updates bleiben deaktiviert." fi + # ------------------------------------------------------------ # Installation # ------------------------------------------------------------ @@ -244,7 +254,7 @@ ensure_flathub case "$o" in libreoffice) flatpak install -y flathub org.libreoffice.LibreOffice ;; onlyoffice) flatpak install -y flathub org.onlyoffice.desktopeditors ;; - collabora) flatpak install -y flathub com.collabora.CollaboraOffice ;; + collabora) flatpak install -y flathub com.collabora.Office ;; papers) flatpak install -y flathub org.gnome.Papers ;; simplescan) flatpak install -y flathub org.gnome.SimpleScan ;; esac