Fix bootc timer name and update Collabora installation

Updated the timer name for bootc automatic updates and modified the installation command for Collabora Office.
This commit is contained in:
humocs-man
2026-03-14 15:07:02 +01:00
committed by GitHub
parent 82ade57db3
commit b6c102ee29
@@ -219,11 +219,21 @@ Empfohlen für die meisten Nutzer.\n
Möchtest du automatische Updates aktivieren?" Möchtest du automatische Updates aktivieren?"
then then
echo "Aktiviere automatische Updates…" 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 else
echo "Automatische Updates bleiben deaktiviert." echo "Automatische Updates bleiben deaktiviert."
fi fi
# ------------------------------------------------------------ # ------------------------------------------------------------
# Installation # Installation
# ------------------------------------------------------------ # ------------------------------------------------------------
@@ -244,7 +254,7 @@ ensure_flathub
case "$o" in case "$o" in
libreoffice) flatpak install -y flathub org.libreoffice.LibreOffice ;; libreoffice) flatpak install -y flathub org.libreoffice.LibreOffice ;;
onlyoffice) flatpak install -y flathub org.onlyoffice.desktopeditors ;; 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 ;; papers) flatpak install -y flathub org.gnome.Papers ;;
simplescan) flatpak install -y flathub org.gnome.SimpleScan ;; simplescan) flatpak install -y flathub org.gnome.SimpleScan ;;
esac esac