1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/comms/mgetty+sendfax/pkg-deinstall
Jean-Marc Zucconi 70bef47e58 Change the default for autobauding from YES to NO.
Give the user a chance to backup the config files before deinstalling
the port (fixes PR ports/7175).
1998-07-12 23:29:38 +00:00

20 lines
426 B
Bash

#!/bin/sh
prefix=/usr/local
cat << END
Deinstalling mgetty+sendfax will remove your configuration files (usually
mgetty.config and sendfax.config in $prefix/etc/mgetty+sendfax/). If you
want to reinstall the port later, you must make a backup of those files
now.
END
echo -n "do you want to deinstall the package ? [y] "
read answ; if [ "$answ" = "" ]; then answ=y; fi
case $answ in
y*|Y*) exit 0;;
*) exit 1;;
esac