safing / portmaster-packaging

Portmaster packages and installers
GNU General Public License v3.0
49 stars 23 forks source link

Detect broken portmaster installation, small fixes #20

Closed ppacher closed 4 years ago

ppacher commented 4 years ago

Changes:

Reasoning:

The first .deb installer (version 0.0.0-1) is unfortunately broken as it deletes all data (/var/lib/portmaster) when an upgrade is performed and also causes the new .deb package to fail downloading portmaster modules as the portmaster service is stopped during upgrade and thus DNS is not working anymore.

This PR should partly avoid the situation in https://github.com/safing/portmaster/issues/110 and also ensures future upgrades will be more smoothly.