diff --git a/py-scripts/regression_test.sh b/py-scripts/regression_test.sh index ce13a66b..38dd1d50 100755 --- a/py-scripts/regression_test.sh +++ b/py-scripts/regression_test.sh @@ -20,7 +20,7 @@ Help() echo "If using the help flag, put the H flag at the end of the command after other flags." } -pip3 install --user -r ../requirements.txt --upgrade +if [ -d "/home/lanforge/lanforge_env"] && pip3 install --upgrade lanforge-scripts || pip3 install --user -r ../requirements.txt --upgrade while getopts ":h:s:S:p:w:m:A:r:F:B:U:D:H:" option; do case "${option}" in