diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-22 00:30:24 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-22 00:30:24 +0000 |
commit | 8782296f87f346e407a9b588c61c901ad331a61b (patch) | |
tree | 9003db734f5474c93508ccf7f02ac0319bb0d249 /databases/gnatsweb4 | |
parent | e8d3c8300fde17c34b15fc2d889e55641e0a8f00 (diff) |
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Notes
Notes:
svn path=/head/; revision=154105
Diffstat (limited to 'databases/gnatsweb4')
-rw-r--r-- | databases/gnatsweb4/pkg-plist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/gnatsweb4/pkg-plist b/databases/gnatsweb4/pkg-plist index 64b648f94ab4..88b705363f6b 100644 --- a/databases/gnatsweb4/pkg-plist +++ b/databases/gnatsweb4/pkg-plist @@ -2,7 +2,7 @@ @unexec if cmp -s %D/etc/gnatsweb/gnatsweb-site.pl %D/etc/gnatsweb/gnatsweb-site.pl.default; then rm -f %D/etc/gnatsweb/gnatsweb-site.pl; fi etc/gnatsweb/gnatsweb-site.pl.default @exec [ -f %B/gnatsweb-site.pl ] || cp %B/%f %B/gnatsweb-site.pl -@unexec rmdir %D/etc/gnatsweb 2>/dev/null || true +@dirrmtry etc/gnatsweb %%CGI_DIR%%/gnatsweb.pl %%CGI_DIR%%/gnatsweb-site.pl %%CGI_DIR%%/gnatsweb.html |