Check that toxid was built

This commit is contained in:
Bob Mottram 2016-07-18 08:03:09 +01:00
parent d6ee4bcec1
commit 9a526a9f26
1 changed files with 5 additions and 1 deletions

View File

@ -497,8 +497,12 @@ make
make install
EOF
if [ ! -f $rootdir/usr/local/bin/toxid ]; then
echo $'toxid not found'
exit 74370
fi
if [ ! -f $rootdir/usr/local/bin/toxavahi ]; then
exit 3621729
exit 3621729
fi
echo "* * * * * root /usr/local/bin/toxavahi > /dev/null" >> $rootdir/etc/crontab
}