Added the watchdog python lib to the installer

This commit is contained in:
David Carley
2021-03-06 10:40:43 -08:00
parent 5cd7291581
commit 814d1cdd80
2 changed files with 6 additions and 0 deletions

View File

@@ -102,6 +102,12 @@ fi
# Install rc.local
cp scripts/rc.local /etc/
# Ensure that the watchdog python library is installed
pip3 list --format=columns | grep watchdog >/dev/null
if [ $? -ne 0 ]; then
pip3 install scripts/watchdog-v0.10.6.tar.gz
fi
# Install bbctrl
if $UPDATE_PY; then
rm -rf /usr/local/lib/python*/dist-packages/bbctrl-*

Binary file not shown.