diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-02 08:38:13 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-02 08:38:13 +0000 |
commit | 169ed56eb13e8152b4fc19bcfe56533b9867f47c (patch) | |
tree | 09d16023f8ecd66c97489cf8d5f7fefc566e3c46 /main/amavisd-new/amavisd-new.pre-install | |
parent | ac3f9c9c44f92f3c02125147d0218b143e3ac461 (diff) | |
download | aports-169ed56eb13e8152b4fc19bcfe56533b9867f47c.tar.bz2 aports-169ed56eb13e8152b4fc19bcfe56533b9867f47c.tar.xz |
main/amavisd-new: pre-install and existing user
pre-install script should not fail if user and group exists.
fixes #175
Diffstat (limited to 'main/amavisd-new/amavisd-new.pre-install')
-rwxr-xr-x | main/amavisd-new/amavisd-new.pre-install | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/main/amavisd-new/amavisd-new.pre-install b/main/amavisd-new/amavisd-new.pre-install index aaaa763c80..167ec16d6d 100755 --- a/main/amavisd-new/amavisd-new.pre-install +++ b/main/amavisd-new/amavisd-new.pre-install @@ -1,4 +1,6 @@ #!/bin/sh -addgroup amavis -adduser -D -S -G amavis -h /var/amavis -s /bin/false amavis +addgroup amavis 2>/dev/null +adduser -D -S -G amavis -h /var/amavis -s /bin/false amavis 2>/dev/null +exit 0 + |