summarylogtreecommitdiffstats
path: root/update-trid-defs.sh
blob: 66b9c39bba154f136778f4d6396176cb09a097ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/sh

if [ "$(id -u)" != "0" ]; then
    echo "This script must be run as root" 1>&2
    exit 1
fi

_PWD=$(pwd)

cd /var/lib/trid/
python2 /usr/share/trid/tridupdate.py

cd ${_PWD}