diff options
author | edwin <edwin@FreeBSD.org> | 2006-01-22 14:28:59 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-01-22 14:28:59 +0800 |
commit | 1677f97aa26c838254a6818de8cfcfd86c746dfb (patch) | |
tree | 2c27fc7a03a5b890cdd90d621e595a87209475e6 /x11-wm | |
parent | 9a0941e0406efa462ec7e72b9a3422d5f60a1506 (diff) | |
download | freebsd-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/Makefile | 3 | ||||
-rw-r--r-- | x11-wm/xfce4/pkg-plist | 4 |
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 |