postinst: add user backup to group tape

So that it is possible to access tape and changer devcies.
This commit is contained in:
Dietmar Maurer 2021-01-30 11:48:49 +01:00
parent b5b99a52cd
commit a57ce270ac

3
debian/postinst vendored
View File

@ -6,6 +6,9 @@ set -e
case "$1" in
configure)
# need to have user backup in the tapoe group
usermod -a -G tape backup
# modeled after dh_systemd_start output
systemctl --system daemon-reload >/dev/null || true
if [ -n "$2" ]; then