From 0416031c9ba13da33845bc762078065b482dd551 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sun, 22 Jan 2006 02:20:05 +0000 Subject: Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry Approved by: krion@ PR: ports/88711 (related) --- games/freesci/pkg-plist | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'games/freesci') diff --git a/games/freesci/pkg-plist b/games/freesci/pkg-plist index 7a9fc367e4fb..1fc65f66a6c3 100644 --- a/games/freesci/pkg-plist +++ b/games/freesci/pkg-plist @@ -6,18 +6,18 @@ bin/freesci bin/freesci-setup bin/sciv share/applnk/Games/Adventure/FreeSCI.desktop -@unexec rmdir %D/share/applnk/Games/Adventure 2>/dev/null || true -@unexec rmdir %D/share/applnk/Games 2>/dev/null || true -@unexec rmdir %D/share/applnk 2>/dev/null || true +@dirrmtry share/applnk/Games/Adventure +@dirrmtry share/applnk/Games +@dirrmtry share/applnk share/icons/hicolor/48x48/apps/freesci.png -@unexec rmdir %D/share/icons/hicolor/48x48/apps 2>/dev/null || true -@unexec rmdir %D/share/icons/hicolor/48x48 2>/dev/null || true -@unexec rmdir %D/share/icons/hicolor 2>/dev/null || true -@unexec rmdir %D/share/icons 2>/dev/null || true +@dirrmtry share/icons/hicolor/48x48/apps +@dirrmtry share/icons/hicolor/48x48 +@dirrmtry share/icons/hicolor +@dirrmtry share/icons share/games/freesci/config.template %%PORTDOCS%%share/games/freesci/sci.sgml %%PORTDOCS%%share/games/freesci/sci-kernel.sgml %%PORTDOCS%%share/games/freesci/freesci.sgml %%PORTDOCS%%share/games/freesci/game-list.sgml @dirrm share/games/freesci -@unexec rmdir %D/share/games 2>/dev/null || true +@dirrmtry share/games -- cgit v1.2.3