aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-22 14:28:59 +0800
committeredwin <edwin@FreeBSD.org>2006-01-22 14:28:59 +0800
commit1677f97aa26c838254a6818de8cfcfd86c746dfb (patch)
tree2c27fc7a03a5b890cdd90d621e595a87209475e6 /x11-wm
parent9a0941e0406efa462ec7e72b9a3422d5f60a1506 (diff)
downloadfreebsd-ports-gnome-1677f97aa26c838254a6818de8cfcfd86c746dfb.tar.gz
freebsd-ports-gnome-1677f97aa26c838254a6818de8cfcfd86c746dfb.tar.zst
freebsd-ports-gnome-1677f97aa26c838254a6818de8cfcfd86c746dfb.zip
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/openbox/Makefile3
-rw-r--r--x11-wm/xfce4/pkg-plist4
2 files changed, 3 insertions, 4 deletions
diff --git a/x11-wm/openbox/Makefile b/x11-wm/openbox/Makefile
index ca80492aca31..57f43ccb0347 100644
--- a/x11-wm/openbox/Makefile
+++ b/x11-wm/openbox/Makefile
@@ -76,8 +76,7 @@ pre-install:
${ECHO_CMD} lib/libobrender.${ii} >> ${PLIST}
.endfor
.for ii in gnome/wm-properties gnome
- ${ECHO_CMD} "@unexec rmdir %D/share/${ii} 2>/dev/null || true" \
- >> ${PLIST}
+ ${ECHO_CMD} "@dirrmtry share/${ii}" >> ${PLIST}
.endfor
.if !defined(NOPORTDOCS)
.for ii in ${DOCS}
diff --git a/x11-wm/xfce4/pkg-plist b/x11-wm/xfce4/pkg-plist
index 86fccb56b1ea..f1b32f03f7d6 100644
--- a/x11-wm/xfce4/pkg-plist
+++ b/x11-wm/xfce4/pkg-plist
@@ -1,4 +1,4 @@
%%GDM%%etc/dm/Sessions/XFce4.desktop
%%GDM%%etc/gdm/Sessions/XFce4
-%%GDM%%@unexec rmdir %D/etc/gdm/Sessions 2>/dev/null || true
-%%GDM%%@unexec rmdir %D/etc/gdm 2>/dev/null || true
+%%GDM%%@dirrmtry etc/gdm/Sessions
+%%GDM%%@dirrmtry etc/gdm