aboutsummaryrefslogtreecommitdiffstats
path: root/x11/wdm
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-22 11:01:03 +0800
committeredwin <edwin@FreeBSD.org>2006-01-22 11:01:03 +0800
commite31bed690b2fba4714686b691a351a51b98d80e8 (patch)
treefb869b3f76a5b4c5a0d4932490adea12d65abd80 /x11/wdm
parent176655f0a1e9745862db36b0cbfab399d74d1339 (diff)
downloadfreebsd-ports-gnome-e31bed690b2fba4714686b691a351a51b98d80e8.tar.gz
freebsd-ports-gnome-e31bed690b2fba4714686b691a351a51b98d80e8.tar.zst
freebsd-ports-gnome-e31bed690b2fba4714686b691a351a51b98d80e8.zip
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
Diffstat (limited to 'x11/wdm')
-rw-r--r--x11/wdm/pkg-plist8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11/wdm/pkg-plist b/x11/wdm/pkg-plist
index bbdd4b0668a7..6cba7f746a79 100644
--- a/x11/wdm/pkg-plist
+++ b/x11/wdm/pkg-plist
@@ -37,10 +37,10 @@ share/locale/es/LC_MESSAGES/wdm.mo
share/locale/fr_FR/LC_MESSAGES/wdm.mo
share/locale/ja/LC_MESSAGES/wdm.mo
share/locale/ru/LC_MESSAGES/wdm.mo
-@unexec rmdir %D/lib/X11/wdm/pixmaps 2>/dev/null || true
+@dirrmtry lib/X11/wdm/pixmaps
@exec mkdir -p %D/lib/X11/wdm/authdir
-@unexec rmdir %D/lib/X11/wdm/authdir/authfiles 2>/dev/null || true
-@unexec rmdir %D/lib/X11/wdm/authdir 2>/dev/null || true
-@unexec rmdir %D/lib/X11/wdm 2>/dev/null || true
+@dirrmtry lib/X11/wdm/authdir/authfiles
+@dirrmtry lib/X11/wdm/authdir
+@dirrmtry lib/X11/wdm
%%PAM%%@cwd %%LOCALBASE%%
%%PAM%%etc/pam.d/wdm