diff options
author | olgeni <olgeni@FreeBSD.org> | 2003-05-18 20:28:25 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2003-05-18 20:28:25 +0800 |
commit | c69880aad27496bdfdf9b663d7e713b4b8c10e72 (patch) | |
tree | 16993b3990e1aa2b1eaf3ba086db26a19dc09657 /misc | |
parent | fadafe0e326e5f96b6f66a273bd3654dba9967ad (diff) | |
download | freebsd-ports-gnome-c69880aad27496bdfdf9b663d7e713b4b8c10e72.tar.gz freebsd-ports-gnome-c69880aad27496bdfdf9b663d7e713b4b8c10e72.tar.zst freebsd-ports-gnome-c69880aad27496bdfdf9b663d7e713b4b8c10e72.zip |
Use failsafe rmdir commands to avoid pkg_deinstall complaints if
3rd party mime types are still present at deinstall time.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/shared-mime-info/pkg-plist | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/misc/shared-mime-info/pkg-plist b/misc/shared-mime-info/pkg-plist index 6ebf6ad6e57d..4cf5018dfb75 100644 --- a/misc/shared-mime-info/pkg-plist +++ b/misc/shared-mime-info/pkg-plist @@ -350,15 +350,14 @@ share/mime/video/x-ms-wmv.xml share/mime/video/x-msvideo.xml share/mime/video/x-real-video.xml share/mime/video/x-sgi-movie.xml -@dirrm share/mime/video -@dirrm share/mime/text -@dirrm share/mime/packages -@dirrm share/mime/multipart -@dirrm share/mime/model -@dirrm share/mime/message -@dirrm share/mime/inode -@dirrm share/mime/image -@dirrm share/mime/audio -@dirrm share/mime/application -@dirrm share/mime +@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 |