aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gnome-osd
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-22 10:30:01 +0800
committeredwin <edwin@FreeBSD.org>2006-01-22 10:30:01 +0800
commitfeafe637a586a81fbc65a23660b6e82c87d90f07 (patch)
tree236a81a898bb37fc1877a514deec3f6192b95260 /misc/gnome-osd
parentffa6a89c602bab7fc1470e34b05dcfe64ce87369 (diff)
downloadfreebsd-ports-gnome-feafe637a586a81fbc65a23660b6e82c87d90f07.tar.gz
freebsd-ports-gnome-feafe637a586a81fbc65a23660b6e82c87d90f07.tar.zst
freebsd-ports-gnome-feafe637a586a81fbc65a23660b6e82c87d90f07.zip
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
Diffstat (limited to 'misc/gnome-osd')
-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