mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 16:58:27 -04:00
activating/deactivating venv
This commit is contained in:
@@ -12,9 +12,11 @@ if ! command -v python3; then
|
|||||||
exit 1
|
exit 1
|
||||||
else:
|
else:
|
||||||
if [ -f /lsiopy/bin/python3 ]; then
|
if [ -f /lsiopy/bin/python3 ]; then
|
||||||
|
source /lsiopy/bin/activate
|
||||||
/lsiopy/bin/python3 -m pip install --no-cache-dir slurpit_netbox
|
/lsiopy/bin/python3 -m pip install --no-cache-dir slurpit_netbox
|
||||||
echo "Please update configuration.py to include "
|
echo "Please update configuration.py to include "
|
||||||
echo "PLUGINS = ['slurpit_netbox']"
|
echo "PLUGINS = ['slurpit_netbox']"
|
||||||
|
/lsiopy/bin/deactivate
|
||||||
else:
|
else:
|
||||||
echo "/lsiopy/bin/python3 not found!"
|
echo "/lsiopy/bin/python3 not found!"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user