diff options
author | edwin <edwin@FreeBSD.org> | 2006-01-22 10:30:01 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-01-22 10:30:01 +0800 |
commit | feafe637a586a81fbc65a23660b6e82c87d90f07 (patch) | |
tree | 236a81a898bb37fc1877a514deec3f6192b95260 /misc/gnome-osd | |
parent | ffa6a89c602bab7fc1470e34b05dcfe64ce87369 (diff) | |
download | freebsd-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-plist | 4 |
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 |