From: Sophie Brun <[email protected]>
Date: Tue, 19 May 2020 15:33:59 +0200
Subject: Don't use pipenv
Last-Update: 2020-10-28
---
resources/scripts/fpc | 2 +-
resources/scripts/posh | 2 +-
resources/scripts/posh-cookie-decrypter | 2 +-
resources/scripts/posh-server | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/resources/scripts/fpc b/resources/scripts/fpc
index 8125fe2..802a967 100755
--- a/resources/scripts/fpc
+++ b/resources/scripts/fpc
@@ -18,6 +18,6 @@ DATABASE_STRING=`cat $POSH_PROJECT_DIR/config.yml | grep "PostgresConnectionStri
pushd "$POSH_DIR" >/dev/null
if [ "$?" -eq "0" ]; then
- python3 -m pipenv run python3 "resources/scripts/fpc.py" -p "$POSH_PROJECT_DIR" -d "$DATABASE_TYPE" -pg "$DATABASE_STRING" $@
+ python3 "resources/scripts/fpc.py" -p "$POSH_PROJECT_DIR" -d "$DATABASE_TYPE" -pg "$DATABASE_STRING" $@
popd > /dev/null
fi
diff --git a/resources/scripts/posh b/resources/scripts/posh
index d46c85f..7e55f13 100755
--- a/resources/scripts/posh
+++ b/resources/scripts/posh
@@ -14,6 +14,6 @@ get_posh_dir
pushd "$POSH_DIR" >/dev/null
if [ "$?" -eq "0" ]; then
- sudo python3 -m pipenv run python3 start.py --client "$@"
+ python3 start.py --client "$@"
popd > /dev/null
fi
diff --git a/resources/scripts/posh-cookie-decrypter b/resources/scripts/posh-cookie-decrypter
index 5ae2a44..206fecb 100755
--- a/resources/scripts/posh-cookie-decrypter
+++ b/resources/scripts/posh-cookie-decrypter
@@ -14,7 +14,7 @@ get_posh_dir
pushd $POSH_DIR >/dev/null
if [ "$?" -eq "0" ]; then
- sudo python3 -m pipenv run python3 "$POSH_DIR/cookie_decrypter.py"
+ python3 "$POSH_DIR/cookie_decrypter.py"
popd > /dev/null
fi
diff --git a/resources/scripts/posh-server b/resources/scripts/posh-server
index bbd5e74..0f6b8be 100755
--- a/resources/scripts/posh-server
+++ b/resources/scripts/posh-server
@@ -15,7 +15,7 @@ get_posh_project_dir
pushd $POSH_DIR >/dev/null
if [ "$?" -eq "0" ]; then
- sudo python3 -m pipenv run python3 -u start.py --server 2>&1 | tee -a "$POSH_PROJECT_DIR/poshc2_server.log"
+ python3 -u start.py --server 2>&1 | tee -a "$POSH_PROJECT_DIR/poshc2_server.log"
popd > /dev/null
fi