]> git.corax.cc Git - toolbox/commit
debian: Don't create/remove groups during upgrades/downgrades
authorMatthias Kruk <m@m10k.eu>
Sat, 22 Jan 2022 07:48:46 +0000 (16:48 +0900)
committerMatthias Kruk <m@m10k.eu>
Sat, 22 Jan 2022 07:54:34 +0000 (16:54 +0900)
commit2fcf5a7dee7a5f41e10e959646c7201933fb217e
treec27a4a14b845f3daec78b225f080d4c74dfbfbe1
parent4da9ea1eb1794f53d4b2fd77c8993bcfe8460c2e
debian: Don't create/remove groups during upgrades/downgrades

The debian maintainer scripts remove and create group during upgrades
and downgrades, causing the group ids to change, locking users out of
/var/lib/toolbox.

This commit modifies the debian maintainer scripts so that they only
remove groups during package removals.
debian/postinst
debian/postrm