In the spirt of graphics/librsvg2, try to be safer when overwriting

files in pre- and post-installation.
This commit is contained in:
Joe Marcus Clarke 2003-11-04 02:58:48 +00:00
parent 7b29d7aa48
commit 98f75b6a20
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93021
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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