aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2008-04-18 23:55:10 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2008-04-18 23:55:10 +0000
commit48973ba2fecf4cbebc7aea60d6ee65cd6142d89a (patch)
tree2af741f5b4e03094cfc2649224105a41a5848315
parent1bcea926e0e28c65b00c1a0c2235d9a3f4a41e4c (diff)
downloadports-48973ba2fecf4cbebc7aea60d6ee65cd6142d89a.tar.gz
ports-48973ba2fecf4cbebc7aea60d6ee65cd6142d89a.zip
Use @dirrmtry and @rmtry macros in the pkg-plist
Notes
Notes: svn path=/head/; revision=211554
-rw-r--r--astro/boinc-einsteinathome/pkg-plist2
-rw-r--r--astro/roadmap/pkg-plist3
2 files changed, 3 insertions, 2 deletions
diff --git a/astro/boinc-einsteinathome/pkg-plist b/astro/boinc-einsteinathome/pkg-plist
index 96588102ea5c..f4115789cadf 100644
--- a/astro/boinc-einsteinathome/pkg-plist
+++ b/astro/boinc-einsteinathome/pkg-plist
@@ -1,4 +1,4 @@
@cwd %%BOINC_HOME%%
projects/%%EINSTEIN_SITE%%/app_info.xml
projects/%%EINSTEIN_SITE%%/%%EINSTEIN_BINARY%%
-@unexec rmdir %D/projects/%%EINSTEIN_SITE%% 2>/dev/null || true
+@dirrmtry projects/%%EINSTEIN_SITE%%
diff --git a/astro/roadmap/pkg-plist b/astro/roadmap/pkg-plist
index 25c038b48031..d69ff3c1b293 100644
--- a/astro/roadmap/pkg-plist
+++ b/astro/roadmap/pkg-plist
@@ -2,7 +2,8 @@ bin/gtkroadmap
bin/gtkroadgps
@exec ln -sf %D/bin/gtkroadmap %D/bin/roadmap
@exec ln -sf %D/bin/gtkroadgps %D/bin/roadgps
-@unexec rm -f %D/bin/roadmap %D/bin/roadgps 2>&1 >/dev/null || true
+@rmtry bin/roadmap
+@rmtry bin/roadgps
bin/buildmap
bin/buildus
bin/dumpmap