diff --git a/scripts/install.sh b/scripts/install.sh index 024b836..0c19c74 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -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-* diff --git a/scripts/watchdog-v0.10.6.tar.gz b/scripts/watchdog-v0.10.6.tar.gz new file mode 100644 index 0000000..e431b31 Binary files /dev/null and b/scripts/watchdog-v0.10.6.tar.gz differ