summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorwiz <wiz>2008-10-31 14:02:18 +0000
committerwiz <wiz>2008-10-31 14:02:18 +0000
commit22d15fcaf983e044fa9c40cfd171a86fd83ebb5c (patch)
tree43f969f0d2fd7bde4393e49afe8a4680302c2deb /databases
parentfd7e131e42036623dd96b7948d63f0752a78098f (diff)
downloadpkgsrc-22d15fcaf983e044fa9c40cfd171a86fd83ebb5c.tar.gz
PLIST: Don't remove share/mime/packages, handled by DEINSTALL.
DEINSTALL: Try removing share/mime as well. Makefile: PKGREVISION++
Diffstat (limited to 'databases')
-rw-r--r--databases/shared-mime-info/DEINSTALL3
-rw-r--r--databases/shared-mime-info/Makefile4
-rw-r--r--databases/shared-mime-info/PLIST4
3 files changed, 6 insertions, 5 deletions
diff --git a/databases/shared-mime-info/DEINSTALL b/databases/shared-mime-info/DEINSTALL
index 401821412a2..993dd373c04 100644
--- a/databases/shared-mime-info/DEINSTALL
+++ b/databases/shared-mime-info/DEINSTALL
@@ -1,4 +1,4 @@
-# $NetBSD: DEINSTALL,v 1.2 2008/06/23 12:55:01 drochner Exp $
+# $NetBSD: DEINSTALL,v 1.3 2008/10/31 14:02:18 wiz Exp $
MIMEDB_PATH="@MIMEDB_PATH@"
@@ -7,5 +7,6 @@ POST-DEINSTALL)
(cd ${MIMEDB_PATH} && \
${LS} . | ${GREP} -v '^packages$' | ${XARGS} ${RM} -rf)
${RMDIR} ${MIMEDB_PATH}/packages || ${TRUE}
+ ${RMDIR} ${MIMEDB_PATH} || ${TRUE}
;;
esac
diff --git a/databases/shared-mime-info/Makefile b/databases/shared-mime-info/Makefile
index 77b1697a96e..7bff0e5c91e 100644
--- a/databases/shared-mime-info/Makefile
+++ b/databases/shared-mime-info/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.38 2008/10/17 05:51:57 tnn Exp $
+# $NetBSD: Makefile,v 1.39 2008/10/31 14:02:18 wiz Exp $
#
DISTNAME= shared-mime-info-0.51
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= databases
MASTER_SITES= http://people.freedesktop.org/~hadess/
EXTRACT_SUFX= .tar.bz2
diff --git a/databases/shared-mime-info/PLIST b/databases/shared-mime-info/PLIST
index d493856d3d6..53d7f080b47 100644
--- a/databases/shared-mime-info/PLIST
+++ b/databases/shared-mime-info/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2008/10/17 05:51:57 tnn Exp $
+@comment $NetBSD: PLIST,v 1.13 2008/10/31 14:02:18 wiz Exp $
bin/update-mime-database
man/man1/update-mime-database.1
share/locale/az/LC_MESSAGES/shared-mime-info.mo
@@ -41,4 +41,4 @@ share/locale/zh_CN/LC_MESSAGES/shared-mime-info.mo
share/locale/zh_TW/LC_MESSAGES/shared-mime-info.mo
share/mime/packages/freedesktop.org.xml
share/pkgconfig/shared-mime-info.pc
-@dirrm share/mime/packages
+@comment in DEINSTALL: @dirrm share/mime/packages