openbsd-ports/net/zebra/pkg/DEINSTALL

27 lines
589 B
Plaintext
Raw Normal View History

2000-08-23 12:05:42 -04:00
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.2 2000/08/25 01:18:21 brad Exp $
2000-08-23 12:05:42 -04:00
#
# zebra deinstallation
# exit on errors, use a sane path and prefix
#
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
CONFIG_DIR=${SYSCONFDIR}
2000-08-23 12:05:42 -04:00
if [ -d $CONFIG_DIR ]; then
2000-08-23 12:05:42 -04:00
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you need to perform"
echo "| this step as root:"
echo "|"
echo "| rm -rf $CONFIG_DIR"
2000-08-23 12:05:42 -04:00
echo "|"
echo "| Do not do this if you plan on re-installing $1"
echo "| at some future time."
echo "+---------------"
echo
fi
exit 0