aboutsummaryrefslogtreecommitdiff
path: root/sysutils/LPRngTool
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-01-22 03:01:03 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-01-22 03:01:03 +0000
commit508b8d82f4fdfc6889fe17931ef30f047501dfd6 (patch)
treef7810d4887e5297c7b7788225e906b99c81d709b /sysutils/LPRngTool
parent4008c7e23fe847e2c8ade0ecb5d86f943d84c917 (diff)
downloadports-508b8d82f4fdfc6889fe17931ef30f047501dfd6.tar.gz
ports-508b8d82f4fdfc6889fe17931ef30f047501dfd6.zip
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
Notes
Notes: svn path=/head/; revision=154116
Diffstat (limited to 'sysutils/LPRngTool')
-rw-r--r--sysutils/LPRngTool/pkg-plist2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/LPRngTool/pkg-plist b/sysutils/LPRngTool/pkg-plist
index a494e02f367f..30e26f5543d4 100644
--- a/sysutils/LPRngTool/pkg-plist
+++ b/sysutils/LPRngTool/pkg-plist
@@ -6,7 +6,7 @@ libexec/filters/printerdb
libexec/filters/testpage.asc
libexec/filters/testpage.ps
libexec/filters/testpage-a4.ps
-@unexec rmdir %D/libexec/filters 2> /dev/null || true
+@dirrmtry libexec/filters
%%CWD%%@cwd /
@unexec if cmp -s %D/%%SYSCONFDIR%%/lprngtool.conf %D/%%SYSCONFDIR%%/lprngtool.conf.sample; then rm -f %D/%%SYSCONFDIR%%/lprngtool.conf; fi
%%SYSCONFDIR%%/lprngtool.conf.sample