mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
main/amavisd-new: pre-install and existing user
pre-install script should not fail if user and group exists. fixes #175
This commit is contained in:
parent
ac3f9c9c44
commit
169ed56eb1
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user