mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
- Don't schedule if the package is already installed. Tests: - With systemd-resolved installed and without internet connectivity start a fresh instance (without first setup). Setup succeeds but systemd-resolved is not installed. - Wait in develop mode for 180 seconds. Setup for names app is re-run. Ensure that internet connectivity is not available and systemd-package is not installed. Setup still succeeds. - On next run, ensure that internet connectivity is available, systemd-resolved is installed. Setup succeeds. - On next run, setup is not re-run for names app. - When service is restarted, the task is not even scheduled. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>