* Added wget to the required dependencies
wget required to download the `deb` package
* Switch to multiline
Co-authored-by: Matheson Steplock <ikifar2012@users.noreply.github.com>
* laying the groundwork
* moving more stuff
* move files into place
* add control
* postinst script
* preinst
* added more to postinst and preinst
* I think this works
* fix gitignore and control
* fixes
* Delete homeassistant-supervised.deb
* Check network connection
* first test of build deb
* test 2
* create changelog
* switch to lowercase for github action
* test without args
* fix typo in example changelog
* Resolve errors
* Space out control
* added files to gitignore
* update gitignore
* putting everything in place
* revert actions changes
* Test action
* test workflow
* new action
* get rid of push
* set version number to match os agent format
* added machine type select
* move bin
* postrm undo dpkg-divert
A systemd service may be marked as enabled as vendor preset, and this
breaks the check we used to check if it was active.
Here's what you get in an Ubuntu 20.04 installation:
❯ sudo systemctl status ModemManager
● ModemManager.service - Modem Manager
Loaded: loaded (/lib/systemd/system/ModemManager.service; disabled; vendor preset: enabled)
Active: inactive (dead)
❯ systemctl list-unit-files ModemManager.service
UNIT FILE STATE VENDOR PRESET
ModemManager.service disabled enabled
1 unit files listed
While the list-unit-files can be filtered using `--state=enabled`, we
can just rely on `systemctl is-enabled` instead.