aboutsummaryrefslogtreecommitdiff
path: root/comms/mgetty+sendfax/pkg-deinstall
blob: 82ed1dbf663392c5c9980e37fb36bc57d9499ee8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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

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;;
esac