Rebuilt the network view in Svelte
This commit is contained in:
@@ -121,19 +121,21 @@ 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/pathtools-0.1.2.tar.gz scripts/watchdog-v0.10.6.tar.gz
|
||||
fi
|
||||
|
||||
# Install bbctrl
|
||||
if $UPDATE_PY; then
|
||||
service bbctrl stop
|
||||
|
||||
rm -rf /usr/local/lib/python*/dist-packages/bbctrl-*
|
||||
|
||||
# Ensure python dependencies are installed
|
||||
pip3 install --no-index --find-links python-packages -r requirements.txt
|
||||
|
||||
./setup.py install --force
|
||||
service bbctrl restart
|
||||
|
||||
HTTP_DIR=$(find /usr/local/lib/ -type d -name "http")
|
||||
chmod 777 $HTTP_DIR
|
||||
|
||||
service bbctrl restart
|
||||
fi
|
||||
|
||||
# Expand the file system if necessary
|
||||
|
||||
Reference in New Issue
Block a user