pkgsrc/misc/rpm/pkg/DEINSTALL
wiz 0f0e939fd7 Add documentation for --initdb to manpage; mention its use in INSTALL,
and what to remove in DEINSTALL. Fixes pkg/8701 by Hauke Fath.
2000-09-10 12:02:48 +00:00

29 lines
569 B
Bash

#!/bin/sh
#
# $NetBSD: DEINSTALL,v 1.1 2000/09/10 12:02:48 wiz Exp $
#
PKGNAME=$1
case $2 in
DEINSTALL)
;;
POST-DEINSTALL)
/bin/cat << EOF
===========================================================================
If you won't be using ${PKGNAME} any longer, you may want to remove the
/var/pkg directory, where the rpm database is stored.
Caution: you will lose any data ${PKGNAME} has about any installed packages!
===========================================================================
EOF
;;
*)
echo "Unexpected argument: $2"
exit 1
;;
esac
exit 0