diff options
author | edwin <edwin@FreeBSD.org> | 2006-01-22 10:20:05 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-01-22 10:20:05 +0800 |
commit | ffa6a89c602bab7fc1470e34b05dcfe64ce87369 (patch) | |
tree | 70253ae4904e6777d975133ac5d163530a80b02a /games/xshisen | |
parent | e8320e01ab60ecf311418120fb31f132f2adf4e9 (diff) | |
download | freebsd-ports-gnome-ffa6a89c602bab7fc1470e34b05dcfe64ce87369.tar.gz freebsd-ports-gnome-ffa6a89c602bab7fc1470e34b05dcfe64ce87369.tar.zst freebsd-ports-gnome-ffa6a89c602bab7fc1470e34b05dcfe64ce87369.zip |
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@
PR: ports/88711 (related)
Diffstat (limited to 'games/xshisen')
-rw-r--r-- | games/xshisen/pkg-plist | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/xshisen/pkg-plist b/games/xshisen/pkg-plist index 87a5589e81a3..df3786b4af00 100644 --- a/games/xshisen/pkg-plist +++ b/games/xshisen/pkg-plist @@ -77,7 +77,7 @@ lib/X11/ja_JP.eucJP/app-defaults/XShisen @dirrm %%DATADIR%%/s2 @dirrm %%DATADIR%%/s1 @dirrm %%DATADIR%% -@unexec rmdir %D/lib/X11/ja_JP.eucJP/app-defaults 2>/dev/null || true -@unexec rmdir %D/lib/X11/ja_JP.eucJP 2>/dev/null || true +@dirrmtry lib/X11/ja_JP.eucJP/app-defaults +@dirrmtry lib/X11/ja_JP.eucJP @exec [ -d %D/lib/X11/ja_JP.EUC/ -a -d %D/lib/X11/ja_JP.EUC/app-defaults ] && ln -s %D/lib/X11/ja_JP.eucJP/app-defaults/XShisen %D/lib/X11/ja_JP.EUC/app-defaults || true @unexec rm %D/lib/X11/ja_JP.EUC/app-defaults/XShisen 2>/dev/null || true |