summarylogtreecommitdiffstats
path: root/update-trid-defs.sh
blob: 496d9f4dc9b9b2a964d8686eb06409cf5ef9341a (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/
python /usr/share/trid/tridupdate.py

cd ${_PWD}