Path to this page:
./
databases/shared-mime-info,
Core database of common types
Branch: pkgsrc-2014Q4,
Version: 1.3,
Package name: shared-mime-info-1.3,
Maintainer: pkgsrc-usersMany programs and desktops use the MIME system to represent the types of
files. Frequently, it is necessary to work out the correct MIME type for
a file. This is generally done by examining the file's name or contents,
and looking up the correct MIME type in a database.
For interoperability, it is useful for different programs to use the same
database so that different programs agree on the type of a file, and new
rules for determining the type apply to all programs.
This package contains the core database of common types and the
update-mime-database command used to extend it.
DEINSTALL [+/-]# $NetBSD: DEINSTALL,v 1.5 2013/10/08 10:40:21 wiz Exp $
MIMEDB_PATH="@MIMEDB_PATH@"
case ${STAGE} in
POST-DEINSTALL)
(cd ${MIMEDB_PATH} && \
${LS} . | ${GREP} -v '^packages$' | ${XARGS} ${RM} -rf)
${RMDIR} ${MIMEDB_PATH}/packages 2>/dev/null || ${TRUE}
${RMDIR} ${MIMEDB_PATH} 2>/dev/null || ${TRUE}
;;
esac
Master sites:
SHA1: dfc8f2724df2172be2f2782be0c40c23e1d8f54f
RMD160: b7a1b278a9db6d1fa895c7a5ed61a683823ab610
Filesize: 505.293 KB
Version history: (Expand)
- (2014-12-30) Package added to pkgsrc.se, version shared-mime-info-1.3 (created)