Added the watchdog python lib to the installer
This commit is contained in:
@@ -102,6 +102,12 @@ fi
|
|||||||
# Install rc.local
|
# Install rc.local
|
||||||
cp scripts/rc.local /etc/
|
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
|
# Install bbctrl
|
||||||
if $UPDATE_PY; then
|
if $UPDATE_PY; then
|
||||||
rm -rf /usr/local/lib/python*/dist-packages/bbctrl-*
|
rm -rf /usr/local/lib/python*/dist-packages/bbctrl-*
|
||||||
|
|||||||
BIN
scripts/watchdog-v0.10.6.tar.gz
Normal file
BIN
scripts/watchdog-v0.10.6.tar.gz
Normal file
Binary file not shown.
Reference in New Issue
Block a user