openbsd-ports/net/radiusd-cistron/pkg/DEINSTALL
danh 92ed51f0c2 - re-organized Makefile.
- added package conflict with radiusd-lucent.
- added more info to pkg/MESSAGE and cleaned up pkg/DEINSTALL.
2000-08-29 16:44:29 +00:00

22 lines
529 B
Bash

#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.2 2000/08/29 16:44:30 danh Exp $
do-deinstall ()
{
echo "+---------------"
echo "| If you do not plan on re-installing this package and have"
echo "| no more use for the previous configuration or data, then"
echo "| the following may safely be deleted:"
echo "|"
if [ -d /etc/raddb ]; then
echo "| /etc/raddb"
fi
if [ -d /var/log/radacct ]; then
echo "| /var/log/radacct"
fi
echo "+---------------"
}
[ -d /etc/raddb -o -d /var/log/radacct ] && do-deinstall
exit 0