]> git.corax.cc Git - toolbox/commit
debian: Make postinst and postrm scripts use dpkg-statoverride
authorMatthias Kruk <m@m10k.eu>
Fri, 21 Jan 2022 10:15:06 +0000 (19:15 +0900)
committerMatthias Kruk <m@m10k.eu>
Fri, 21 Jan 2022 10:15:06 +0000 (19:15 +0900)
commit4da9ea1eb1794f53d4b2fd77c8993bcfe8460c2e
tree40f995c9c5345881d76373e68a7b8e6acfc321ab
parent4dfaf1a1dab4ca6aee6bf6eae0d8882ef1f0fe9e
debian: Make postinst and postrm scripts use dpkg-statoverride

The postinst and postrm scripts change the ownership and permissions
of /var/lib/toolbox directly, which is discouraged behavior.

This commit changes the scripts so they use dpkg-statoverride instead.
debian/changelog
debian/postinst
debian/postrm