summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-01-13 07:54:31 +0000
committerjperkin <jperkin@pkgsrc.org>2016-01-13 07:54:31 +0000
commite5446b3710a21c489295372e72bf1f1f689e78a8 (patch)
tree42805772de41e8f606c5d0bddb56cad1779306ed /sysutils
parentc9121e0d918eca0555f8dfb5f732d90a49157380 (diff)
downloadpkgsrc-e5446b3710a21c489295372e72bf1f1f689e78a8.tar.gz
Make post-install commands more resilient.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/dbus/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/dbus/Makefile b/sysutils/dbus/Makefile
index fdca326b8b3..9e5f2e47430 100644
--- a/sysutils/dbus/Makefile
+++ b/sysutils/dbus/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.94 2015/12/06 11:35:55 wiz Exp $
+# $NetBSD: Makefile,v 1.95 2016/01/13 07:54:31 jperkin Exp $
DISTNAME= dbus-1.10.6
CATEGORIES= sysutils
@@ -103,8 +103,8 @@ BUILDLINK_TRANSFORM+= rm:-lrt
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/introspect.* \
${DESTDIR}${PREFIX}/share/doc/dbus/
- ${RM} ${DESTDIR}${PREFIX}/etc/dbus-1/s*.conf
- ${RMDIR} ${DESTDIR}${PREFIX}/etc/dbus-1
+ ${RM} -f ${DESTDIR}${PREFIX}/etc/dbus-1/s*.conf
+ ${RMDIR} ${DESTDIR}${PREFIX}/etc/dbus-1 || ${TRUE}
.include "../../mk/pthread.buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"