blob: 92e51e5fb21dadc013575983baba5dfa0dd707d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/usr/bin/sh
if [ ! -e /var/lib/trid/triddefs.trd ]; then
echo "Defenitions database not found!"
echo "Run update-trid-defs as root to download the database."
echo "You can enable automatic updates by enabling the update-trid-defs systemd service."
exit 200;
fi
LANG=c /usr/bin/trid.bin -d:/var/lib/trid/triddefs.trd $*
|