openbsd-ports/sysutils/bubblemon/pkg/DEINSTALL
naddy 7012262544 * Use variables instead of hardcoded prefixes.
* Take care to set a sane PATH.
* Add set -e
* Copy example files into ${PREFIX}/share/examples/PORTNAME.
* Replace PKGNAME with P_NAME in INSTALL/DEINSTALL scripts, unclear
  since it already exists in the Makefile with a different value.
* Change output of INSTALL/DEINSTALL to be more like other scripts
  found in the tree(suggested by heko@).

Submitted by maintainer Nils Nordman <nino@nforced.com>.
2001-09-20 18:51:02 +00:00

27 lines
660 B
Bash

#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.2 2001/09/20 18:51:02 naddy Exp $
#
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
echo
echo "+--------------- $1"
echo "| To really remove $1 from your system you should also"
echo "| remove the configuration files from the ${SYSCONFDIR} directory."
echo "| If you are planning on installing $1 again in the future"
echo "| you can leave it as it is."
echo "|"
echo "| FYI, the following configuration files belongs to this package:"
echo "|"
for f in \
CORBA/servers/bubblemon_applet.gnorba
do
echo "| ${SYSCONFDIR}/$f"
done
echo "+--------------- $1"
echo
exit 0