summaryrefslogtreecommitdiff
path: root/sysutils/desktop-file-utils
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2011-11-11 22:36:43 +0000
committermarino <marino@pkgsrc.org>2011-11-11 22:36:43 +0000
commit3c12b74fe9a368211a171ed8f99f1a22a6abdf60 (patch)
tree7d86633ed309ae8245e1a0ec54b6745438fbf554 /sysutils/desktop-file-utils
parentee4338e08b7145df3f42f67c74c117603153d27d (diff)
downloadpkgsrc-3c12b74fe9a368211a171ed8f99f1a22a6abdf60.tar.gz
sysutils/desktop-file-utils: cleanup after deinstall
This package creates ${LOCALBASE}/share/applications directory, but it didn't attempt to remove it upon deinstallation. DEINSTALL fragment has been updated to fix this.
Diffstat (limited to 'sysutils/desktop-file-utils')
-rw-r--r--sysutils/desktop-file-utils/DEINSTALL3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/desktop-file-utils/DEINSTALL b/sysutils/desktop-file-utils/DEINSTALL
index 2a817c19388..caddfd4a645 100644
--- a/sysutils/desktop-file-utils/DEINSTALL
+++ b/sysutils/desktop-file-utils/DEINSTALL
@@ -1,9 +1,10 @@
-# $NetBSD: DEINSTALL,v 1.1 2006/06/15 20:40:16 jlam Exp $
+# $NetBSD: DEINSTALL,v 1.2 2011/11/11 22:36:43 marino Exp $
APPLICATIONS_PATH="@APPLICATIONS_PATH@"
case ${STAGE} in
POST-DEINSTALL)
${RM} -f ${APPLICATIONS_PATH}/mimeinfo.cache
+ ${RMDIR} ${APPLICATIONS_PATH} 2>/dev/null || true
;;
esac