From 282d113b7e0cc70cdb82612249d68b8bd293a364 Mon Sep 17 00:00:00 2001 From: Timothée Ravier Date: Feb 06 2025 15:21:41 +0000 Subject: kinoite-common: Set update frequency to weekly for auto updates We had previously enabled auto updates in Discover but we did not set an update frequency. Kinoite is built daily but it is not necessary for users to update that often. Set the update frequency to weekly to keep a reasonable amount of time between updates while making sure that they happen eventually. Users may also manually update at anytime if they want updates to happen faster or change the default in the system settings. Flatpaks could (and maybe should) be updated faster (daily or every two days) but we need support for that in Discover [1]. [1] https://bugs.kde.org/show_bug.cgi?id=454422 See: https://fedoraproject.org/wiki/Changes/KDEKinoiteAutoUpdateByDefault --- diff --git a/kinoite-common.yaml b/kinoite-common.yaml index 19cea45..d5db40a 100644 --- a/kinoite-common.yaml +++ b/kinoite-common.yaml @@ -58,5 +58,10 @@ postprocess: #!/bin/bash set -xeuo pipefail - # Enable auto updates in Discover - echo -e "[Global]\nUseUnattendedUpdates=true\n" > /etc/xdg/PlasmaDiscoverUpdates + # Enable weekly auto updates in Discover. In the future, Flatpaks will be + # updated daily. See: https://bugs.kde.org/show_bug.cgi?id=454422 + cat > /etc/xdg/PlasmaDiscoverUpdates <