openbsd-ports/graphics/imlib/pkg/DEINSTALL
2001-03-02 19:55:32 +00:00

25 lines
557 B
Bash

#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.2 2001/03/02 19:55:32 brad Exp $
#
# Imlib de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFIG_DIR=${SYSCONFDIR}
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you need to perform"
echo "| this step as root:"
echo "|"
echo "| rm -f $CONFIG_DIR/imrc"
echo "| rm -f $CONFIG_DIR/im_palette.pal"
echo "|"
echo "| Do not do this if you plan on re-installing $1"
echo "| at some future time."
echo "+---------------"
echo
exit 0