diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-22 02:30:01 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-22 02:30:01 +0000 |
commit | a437d08ecacfe1693a6e9f6ee1906a6f425ca700 (patch) | |
tree | 547a63eef9c79ff429d082d13015036a6cfa4c85 /misc/shared-mime-info | |
parent | 0416031c9ba13da33845bc762078065b482dd551 (diff) | |
download | ports-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/shared-mime-info')
-rw-r--r-- | misc/shared-mime-info/pkg-plist | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/misc/shared-mime-info/pkg-plist b/misc/shared-mime-info/pkg-plist index 3c570d5fc430..03d6bd767eb3 100644 --- a/misc/shared-mime-info/pkg-plist +++ b/misc/shared-mime-info/pkg-plist @@ -418,17 +418,17 @@ share/mime/video/x-msvideo.xml share/mime/video/x-nsv.xml share/mime/video/x-real-video.xml share/mime/video/x-sgi-movie.xml -@unexec rmdir %D/share/mime/video 2>/dev/null || true -@unexec rmdir %D/share/mime/text 2>/dev/null || true -@unexec rmdir %D/share/mime/packages 2>/dev/null || true -@unexec rmdir %D/share/mime/multipart 2>/dev/null || true -@unexec rmdir %D/share/mime/model 2>/dev/null || true -@unexec rmdir %D/share/mime/message 2>/dev/null || true -@unexec rmdir %D/share/mime/inode 2>/dev/null || true -@unexec rmdir %D/share/mime/image 2>/dev/null || true -@unexec rmdir %D/share/mime/audio 2>/dev/null || true -@unexec rmdir %D/share/mime/application 2>/dev/null || true -@unexec rmdir %D/share/mime 2>/dev/null || true +@dirrmtry share/mime/video +@dirrmtry share/mime/text +@dirrmtry share/mime/packages +@dirrmtry share/mime/multipart +@dirrmtry share/mime/model +@dirrmtry share/mime/message +@dirrmtry share/mime/inode +@dirrmtry share/mime/image +@dirrmtry share/mime/audio +@dirrmtry share/mime/application +@dirrmtry share/mime @unexec [ -f %%X11BASE%%/share/mime/XMLnamespaces ] && rm -f %%X11BASE%%/share/mime/XMLnamespaces || true @unexec [ -f %%X11BASE%%/share/mime/globs ] && rm -f %%X11BASE%%/share/mime/globs || true @unexec [ -f %%X11BASE%%/share/mime/magic ] && rm -f %%X11BASE%%/share/mime/magic || true |