a89ef2c84d
* Properly handle local discography when installing/deinstalling the binary package. * Use bsd.pkg.install.mk to preserve local configuration files when reinstalling xmcd.
30 lines
697 B
Bash
30 lines
697 B
Bash
#!/bin/sh
|
|
#
|
|
# $NetBSD: DEINSTALL,v 1.3 2002/10/08 11:50:04 jlam Exp $
|
|
#
|
|
|
|
XMCDDIR=${PKG_PREFIX}/lib/X11/xmcd
|
|
|
|
case ${STAGE} in
|
|
POST-DEINSTALL)
|
|
${CAT} << EOF
|
|
=============================================================================
|
|
If you won't be using ${PKGNAME} any longer, you may want to remove
|
|
any cached CD information in
|
|
|
|
${XMCDDIR}/cdinfo
|
|
|
|
any local discography collection in
|
|
|
|
${XMCDDIR}/discog
|
|
|
|
and any drive information in
|
|
|
|
${XMCDDIR}/config
|
|
|
|
e.g., by deleting the corresponding directory. Please note that config
|
|
files will get overwritten on re-install if you don't save them manually.
|
|
=============================================================================
|
|
EOF
|
|
;;
|
|
esac
|