aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2005-07-31 05:55:23 +0800
committeroliver <oliver@FreeBSD.org>2005-07-31 05:55:23 +0800
commit09ded0dc0315cc03da57d3418e449db46f764521 (patch)
tree0aeddb39ccf15923141bf107c55a49d50b1fd529 /security
parent22f8a633b54a79b0886c73c1a712c6905d64c2ac (diff)
downloadfreebsd-ports-gnome-09ded0dc0315cc03da57d3418e449db46f764521.tar.gz
freebsd-ports-gnome-09ded0dc0315cc03da57d3418e449db46f764521.tar.zst
freebsd-ports-gnome-09ded0dc0315cc03da57d3418e449db46f764521.zip
Just remove the user if BATCH is set in env, don't ask for users feedback.
PR: 84349 Submitted by: Matthias Andree <matthias.andree@gmx.de>
Diffstat (limited to 'security')
-rw-r--r--security/courier-authlib/files/pkg-deinstall.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/courier-authlib/files/pkg-deinstall.in b/security/courier-authlib/files/pkg-deinstall.in
index db7da5cfbd91..6dd8602ee207 100644
--- a/security/courier-authlib/files/pkg-deinstall.in
+++ b/security/courier-authlib/files/pkg-deinstall.in
@@ -10,7 +10,7 @@ USER=%%MAILOWN%%
GROUP=%%MAILGRP%%
if [ ":$2" = ":POST-DEINSTALL" ]; then
- if [ -z "${PACKAGE_BUILDING}" ]; then
+ if [ -z "${PACKAGE_BUILDING}" -a -z "${BATCH}" ]; then
echo ""
echo "Warning: Removing user courier will also delete any"
echo " undelivered mail in the mail queue directories!!!"