aboutsummaryrefslogtreecommitdiffstats
path: root/main/amavisd-new
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-10-02 08:38:13 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-10-02 08:38:13 +0000
commit169ed56eb13e8152b4fc19bcfe56533b9867f47c (patch)
tree09d16023f8ecd66c97489cf8d5f7fefc566e3c46 /main/amavisd-new
parentac3f9c9c44f92f3c02125147d0218b143e3ac461 (diff)
downloadaports-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')
-rw-r--r--main/amavisd-new/APKBUILD2
-rwxr-xr-xmain/amavisd-new/amavisd-new.pre-install6
2 files changed, 5 insertions, 3 deletions
diff --git a/main/amavisd-new/APKBUILD b/main/amavisd-new/APKBUILD
index 0c5456fa0c..6929217100 100644
--- a/main/amavisd-new/APKBUILD
+++ b/main/amavisd-new/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=amavisd-new
pkgver=2.6.4
-pkgrel=0
+pkgrel=1
pkgdesc="High-performance interface between mailer (MTA) and content checkers"
url="http://www.ijs.si/software/amavisd"
license="GPL-2"
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
+