mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-03-23 00:05:28 +08:00
activating/deactivating venv
This commit is contained in:
parent
05e2a8cd35
commit
a5c968fe59
@ -12,9 +12,11 @@ if ! command -v python3; then
|
||||
exit 1
|
||||
else:
|
||||
if [ -f /lsiopy/bin/python3 ]; then
|
||||
source /lsiopy/bin/activate
|
||||
/lsiopy/bin/python3 -m pip install --no-cache-dir slurpit_netbox
|
||||
echo "Please update configuration.py to include "
|
||||
echo "PLUGINS = ['slurpit_netbox']"
|
||||
/lsiopy/bin/deactivate
|
||||
else:
|
||||
echo "/lsiopy/bin/python3 not found!"
|
||||
exit 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user