aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2008-04-19 08:40:54 +0800
committeredwin <edwin@FreeBSD.org>2008-04-19 08:40:54 +0800
commit9cb91ac3aca487585b0112b2e1ef59c6bdf22e67 (patch)
treea48b129d8a004cd10e8928509bd9f6c07be6388e /chinese
parenta710fcd4eb3e85f05440542b7a6999e516661b69 (diff)
downloadfreebsd-ports-gnome-9cb91ac3aca487585b0112b2e1ef59c6bdf22e67.tar.gz
freebsd-ports-gnome-9cb91ac3aca487585b0112b2e1ef59c6bdf22e67.tar.zst
freebsd-ports-gnome-9cb91ac3aca487585b0112b2e1ef59c6bdf22e67.zip
Use @rmtry macro in the pkg-plist.
Diffstat (limited to 'chinese')
-rw-r--r--chinese/pine4/pkg-plist2
-rw-r--r--chinese/xpdf/pkg-plist2
2 files changed, 2 insertions, 2 deletions
diff --git a/chinese/pine4/pkg-plist b/chinese/pine4/pkg-plist
index c61c31719a81..7a825dfc85a5 100644
--- a/chinese/pine4/pkg-plist
+++ b/chinese/pine4/pkg-plist
@@ -1,6 +1,6 @@
@unexec %D/bin/pine -conf >%D/etc/pine.conf.tmp
@unexec if cmp -s %D/etc/pine.conf %D/etc/pine.conf.tmp; then rm -f %D/etc/pine.conf; fi
-@unexec rm -f %D/etc/pine.conf.tmp
+@rmtry etc/pine.conf.tmp
bin/pgpdecode
bin/pgpencrypt
bin/pgpsign
diff --git a/chinese/xpdf/pkg-plist b/chinese/xpdf/pkg-plist
index d4e992f6b9b6..d5c4a0b0d6b8 100644
--- a/chinese/xpdf/pkg-plist
+++ b/chinese/xpdf/pkg-plist
@@ -10,7 +10,7 @@
@unexec cp %D/etc/xpdfrc %D/etc/xpdfrc.chinese-traditional
@unexec grep -F -v --file=%D/%%DATADIR%%/chinese-traditional/dot.xpdfrc %D/etc/xpdfrc.chinese-traditional > %D/etc/xpdfrc
%%DATADIR%%/chinese-traditional/dot.xpdfrc
-@unexec rm -f %D/etc/xpdfrc.chinese-traditional
+@rmtry etc/xpdfrc.chinese-traditional
@dirrm %%DATADIR%%/chinese-simplified
@dirrm %%DATADIR%%/chinese-traditional
@dirrmtry %%DATADIR%%