X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=debian%2Fpostinst;h=be6a549195592ebc5819a34f3ef788f07b15c8cd;hb=ea8f8b7fc33f2a161b2b9e60cd35b82ab7d703a0;hp=0c1f8076668be3453f00a88e1bfd7feb721ddc01;hpb=33561aecfa34750b791fe958e7b1aba0b866d559;p=debian%2Famanda diff --git a/debian/postinst b/debian/postinst index 0c1f807..be6a549 100644 --- a/debian/postinst +++ b/debian/postinst @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh -e . /usr/share/debconf/confmodule @@ -13,7 +13,8 @@ if [ "$1" = configure ]; then groupadd -g 34 backup 2> /dev/null groupadd -g 26 tape 2> /dev/null - usermod -G disk,tape backup + adduser backup disk + adduser backup tape # in case we get installed first if [ ! -d /var/lib/amanda ]; then