WIP: fix: fix case when updater is run with reinstall-all option
Fixes https://gitlab.labs.nic.cz/turris/turris-os-packages/issues/561
This hack is documented in commit message. In short hooks are called when --reinstall-all
is used so it keeps system in consistent manner after switch-branch
.
On notice @vmyslivec