X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debian%2Fspamass-milter.postinst;h=d9a0cf757f8810a280c3c19838891122dde3d47f;hb=743b8372295ee7305eb6a86b660bd1b2a5b30732;hp=2e2661c0aa1bdb77b8601e0ab4fecc02597ae8e2;hpb=ab5c4477a5ea3c6c835ad9d65c7bae190319650f;p=deb_pkgs%2Fspamass-milter.git diff --git a/debian/spamass-milter.postinst b/debian/spamass-milter.postinst index 2e2661c..d9a0cf7 100644 --- a/debian/spamass-milter.postinst +++ b/debian/spamass-milter.postinst @@ -6,8 +6,8 @@ case "$1" in configure) # Create the spamassmilter user if [ -x /usr/sbin/adduser ]; then - if ! id -u spamassmilter >/dev/null 2>&1; then - adduser --system --no-create-home spamassmilter; + if ! id -u spamass-milter >/dev/null 2>&1; then + adduser --system --no-create-home --home /var/lib/spamass-milter spamass-milter; fi; fi; # Attempt to remove /var/run/spamass if it exists @@ -31,4 +31,4 @@ esac ###DEBHELPER### -exit 0; \ No newline at end of file +exit 0;