blob: c69a1a6e0d8ae15dd1dbf2b417f43d2f0a8e38cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
# Point this to an unpacked source distribution of file(1) to
# regenerate the recognizers.
filesrc="$1"
mime="${filesrc}/magic/magic.mime"
type="${filesrc}/magic/Magdir"
`dirname $0`/tmc -merge mimetypes.tcl '::fileutil::magic::mimetype::run' "${mime}"
`dirname $0`/tmc -merge filetypes.tcl '::fileutil::magic::filetype::run' "${type}"
exit 0
|