aboutsummaryrefslogtreecommitdiff
path: root/comms/mgetty+sendfax
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-05-24 02:10:08 +0000
committerSteve Price <steve@FreeBSD.org>1999-05-24 02:10:08 +0000
commitd1683da62d695ac6708a30756fa7abdf6aa9f764 (patch)
treebfbe23b6db5e2ec59ab0bb375e69d309e6204a78 /comms/mgetty+sendfax
parent822927830688dc27a5b1fa3080eea013a5c2f6ae (diff)
downloadports-d1683da62d695ac6708a30756fa7abdf6aa9f764.tar.gz
ports-d1683da62d695ac6708a30756fa7abdf6aa9f764.zip
Notes
Diffstat (limited to 'comms/mgetty+sendfax')
-rw-r--r--comms/mgetty+sendfax/pkg-deinstall8
1 files changed, 6 insertions, 2 deletions
diff --git a/comms/mgetty+sendfax/pkg-deinstall b/comms/mgetty+sendfax/pkg-deinstall
index d3584709d239..82ed1dbf6633 100644
--- a/comms/mgetty+sendfax/pkg-deinstall
+++ b/comms/mgetty+sendfax/pkg-deinstall
@@ -11,8 +11,12 @@ now.
END
-echo -n "do you want to deinstall the package ? [y] "
-read answ; if [ "$answ" = "" ]; then answ=y; fi
+if [ -z "${PACKAGE_BUILDING}" ]; then
+ echo -n "do you want to deinstall the package ? [y] "
+ read answ; if [ "$answ" = "" ]; then answ=y; fi
+else
+ answ=y
+fi
case $answ in
y*|Y*) exit 0;;
*) exit 1;;