diff --git a/plinth/modules/upgrades/data/etc/apt/apt.conf.d/20freedombox b/plinth/modules/upgrades/data/etc/apt/apt.conf.d/20freedombox index 7f5c6dce2..574055587 100644 --- a/plinth/modules/upgrades/data/etc/apt/apt.conf.d/20freedombox +++ b/plinth/modules/upgrades/data/etc/apt/apt.conf.d/20freedombox @@ -6,3 +6,6 @@ APT::Update::Post-Invoke-Success { "/usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bin/gdbus call --system --dest org.freedombox.Service --object-path /org/freedombox/Service/PackageHandler --timeout 10 --method org.freedombox.Service.PackageHandler.CacheUpdated 2> /dev/null > /dev/null; /bin/echo > /dev/null"; }; + +// Clean apt cache every 7 days +APT::Periodic::CleanInterval "7";