mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
- Don't ship the file preferences file as this is a violation of the Debian policy. Lintian throws a hard error that can't be overridden. Remove the lintian override. Remove this file using maintainer scripts when upgrading from all version below 20.5. - The preferences file is now renamed to 50freedombox4.pref. - Instead write the file when the app is getting setup (on each new version). - Don't run the setup code on daily timer, instead run the code when the app upgrades. This ensures that as soon as freedombox package is upgraded and run, the new preferences file is created instead of waiting for the daily timer to run. - From now on when the preferences change, we will increment the version number of the upgrades app. Change the setup() for the app so that it does not re-enable automatic upgrades every time setup() is run. Closes: #1673. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>