summaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-11-04 02:58:48 +0000
committermarcus <marcus@FreeBSD.org>2003-11-04 02:58:48 +0000
commit1f8d47a0017c2302a3d4190b890fc0cfdada7f34 (patch)
tree36beb272265a3f03b436d262879f0e8fb5a70c59 /deskutils
parent6174853855f6ed8cfe8c03faf7ce5daa9eab52cf (diff)
downloadFreeBSD-ports-1f8d47a0017c2302a3d4190b890fc0cfdada7f34.zip
FreeBSD-ports-1f8d47a0017c2302a3d4190b890fc0cfdada7f34.tar.gz
In the spirt of graphics/librsvg2, try to be safer when overwriting
files in pre- and post-installation.
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/gucharmap/Makefile1
-rw-r--r--deskutils/gucharmap/pkg-plist4
2 files changed, 3 insertions, 2 deletions
diff --git a/deskutils/gucharmap/Makefile b/deskutils/gucharmap/Makefile
index 6b997b6..2810590 100644
--- a/deskutils/gucharmap/Makefile
+++ b/deskutils/gucharmap/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gucharmap
PORTVERSION= 1.0.0
+PORTREVISION= 1
CATEGORIES= deskutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.0
diff --git a/deskutils/gucharmap/pkg-plist b/deskutils/gucharmap/pkg-plist
index f19b811..49fcebf 100644
--- a/deskutils/gucharmap/pkg-plist
+++ b/deskutils/gucharmap/pkg-plist
@@ -52,5 +52,5 @@ share/locale/uk/LC_MESSAGES/gucharmap.mo
share/locale/zh_CN/LC_MESSAGES/gucharmap.mo
share/locale/zh_TW/LC_MESSAGES/gucharmap.mo
@dirrm include/gucharmap
-@exec gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules 2>/dev/null || /usr/bin/true
-@unexec gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules 2>/dev/null || /usr/bin/true
+@exec %D/bin/gtk-query-immodules-2.0 >/dev/null 2>&1 && %D/bin/gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules 2>/dev/null || /usr/bin/true
+@unexec %D/bin/gtk-query-immodules-2.0 >/dev/null 2>&1 && %D/bin/gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules 2>/dev/null || /usr/bin/true
OpenPOWER on IntegriCloud