2000-08-23 12:05:42 -04:00
|
|
|
#!/bin/sh
|
2000-08-24 21:18:20 -04:00
|
|
|
# $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
|
2000-08-24 21:18:20 -04:00
|
|
|
CONFIG_DIR=${SYSCONFDIR}
|
2000-08-23 12:05:42 -04:00
|
|
|
|
2000-08-24 21:18:20 -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 "|"
|
2000-08-24 21:18:20 -04:00
|
|
|
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
|