aboutsummaryrefslogtreecommitdiff
path: root/misc/gnome-osd/pkg-plist
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-01-22 02:30:01 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-01-22 02:30:01 +0000
commita437d08ecacfe1693a6e9f6ee1906a6f425ca700 (patch)
tree547a63eef9c79ff429d082d13015036a6cfa4c85 /misc/gnome-osd/pkg-plist
parent0416031c9ba13da33845bc762078065b482dd551 (diff)
downloadports-a437d08ecacfe1693a6e9f6ee1906a6f425ca700.tar.gz
ports-a437d08ecacfe1693a6e9f6ee1906a6f425ca700.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=154114
Diffstat (limited to 'misc/gnome-osd/pkg-plist')
-rw-r--r--misc/gnome-osd/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/gnome-osd/pkg-plist b/misc/gnome-osd/pkg-plist
index f5ff07d2eadb..00c2427ddb89 100644
--- a/misc/gnome-osd/pkg-plist
+++ b/misc/gnome-osd/pkg-plist
@@ -35,7 +35,7 @@ share/locale/ja/LC_MESSAGES/gnome-osd.mo
share/locale/pt/LC_MESSAGES/gnome-osd.mo
@dirrm share/gnome/gnome-osd
@dirrm %%PYTHON_SITELIBDIR%%/gnomeosd
-@unexec rmdir %D/%%PYTHON_SITELIBDIR%% 2>/dev/null || true
-@unexec rmdir %D/%%PYTHON_LIBDIR%% 2>/dev/null || true
+@dirrmtry %%PYTHON_SITELIBDIR%%
+@dirrmtry %%PYTHON_LIBDIR%%
@comment only remove the dbus directories if dbus is not installed
@unexec if ! [ -e %%LOCALBASE%%/bin/dbus-daemon ]; then rmdir %D/share/dbus-1/services 2>/dev/null; rmdir %D/share/dbus-1 2>/dev/null; fi