summaryrefslogtreecommitdiff
path: root/audio/xmcd/DEINSTALL
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-10-08 11:50:04 +0000
committerjlam <jlam@pkgsrc.org>2002-10-08 11:50:04 +0000
commita89ef2c84daa35c6f715ccfb3f965a6706fffc43 (patch)
treecd5cbd911858a4dd8e9cdb9b8c433a953632cb82 /audio/xmcd/DEINSTALL
parent968e0917275f3582588028efe2c67147cb69df13 (diff)
downloadpkgsrc-a89ef2c84daa35c6f715ccfb3f965a6706fffc43.tar.gz
* buildlink1 -> buildlink2
* Properly handle local discography when installing/deinstalling the binary package. * Use bsd.pkg.install.mk to preserve local configuration files when reinstalling xmcd.
Diffstat (limited to 'audio/xmcd/DEINSTALL')
-rw-r--r--audio/xmcd/DEINSTALL34
1 files changed, 16 insertions, 18 deletions
diff --git a/audio/xmcd/DEINSTALL b/audio/xmcd/DEINSTALL
index 5709c17ee78..48e38832605 100644
--- a/audio/xmcd/DEINSTALL
+++ b/audio/xmcd/DEINSTALL
@@ -1,32 +1,30 @@
#!/bin/sh
#
-# $NetBSD: DEINSTALL,v 1.2 2002/01/08 09:56:19 tron Exp $
+# $NetBSD: DEINSTALL,v 1.3 2002/10/08 11:50:04 jlam Exp $
#
-PKGNAME=$1
-STAGE=$2
+XMCDDIR=${PKG_PREFIX}/lib/X11/xmcd
case ${STAGE} in
-DEINSTALL)
- ;;
-
POST-DEINSTALL)
- cat << EOF
+ ${CAT} << EOF
=============================================================================
If you won't be using ${PKGNAME} any longer, you may want to remove
-any cached CD informations in
- ${PKG_PREFIX}/lib/X11/xmcd/cddb
-and any drive informations in
- ${PKG_PREFIX}/lib/X11/xmcd/config
-e.g. by deleting the corresponding directory. Please note that config
+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
;;
-
-*)
- echo "Unexpected argument: ${STAGE}"
- exit 1
- ;;
esac
-exit 0