]> git.corax.cc Git - toolbox/commit
debian: Add/remove groups during installation/removal
authorMatthias Kruk <m@m10k.eu>
Fri, 21 Jan 2022 09:55:39 +0000 (18:55 +0900)
committerMatthias Kruk <m@m10k.eu>
Fri, 21 Jan 2022 09:55:39 +0000 (18:55 +0900)
commit4dfaf1a1dab4ca6aee6bf6eae0d8882ef1f0fe9e
treeaad97fd3af0278ca96b716ffb0265912d2ad8a04
parent2c00c71989b10b0e65e946804ea6bdedf8545048
debian: Add/remove groups during installation/removal

When installing toolbox from debian packages, the toolbox and
toolbox_ipc groups are not created, and the permissions and
ownership of /var/lib/toolbox are incorrect.

This commit adds postinst and postrm scripts that create and remove
the toolbox and toolbox_ipc groups during installation/removal, and
set the permissions on /var/lib/toolbox appropriately.
Makefile
debian/control
debian/postinst [new file with mode: 0755]
debian/postrm [new file with mode: 0755]