summaryrefslogtreecommitdiffstats
path: root/main/clamsmtp/clamsmtp.pre-upgrade
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-22 06:17:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-22 06:18:47 +0000
commitdf8d0f17845c931cfe1318e55c9b12b620f1def1 (patch)
tree33d13b516657a6148d8280f197453fde2cead88f /main/clamsmtp/clamsmtp.pre-upgrade
parent6afa7fca2df3a2c5508e2a33b1095ac5e82abe78 (diff)
downloadaports-df8d0f17845c931cfe1318e55c9b12b620f1def1.tar.bz2
aports-df8d0f17845c931cfe1318e55c9b12b620f1def1.tar.xz
main/clamsmtp: fix default config. create user
Diffstat (limited to 'main/clamsmtp/clamsmtp.pre-upgrade')
-rw-r--r--main/clamsmtp/clamsmtp.pre-upgrade2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/clamsmtp/clamsmtp.pre-upgrade b/main/clamsmtp/clamsmtp.pre-upgrade
index 12de39f7b..97d90817b 100644
--- a/main/clamsmtp/clamsmtp.pre-upgrade
+++ b/main/clamsmtp/clamsmtp.pre-upgrade
@@ -10,3 +10,5 @@ if [ -f "$old" ] && [ ! -f "$new" ]; then
echo " *"
fi
+adduser -H -s /bin/false -D clamav 2>/dev/null
+exit 0