revision 2.3
This commit is contained in:
parent
26c37e5444
commit
b0ef8052cd
@ -52,7 +52,8 @@ eval "$(pyenv init -)"
|
||||
#####################################################################################################################################
|
||||
pyenv update
|
||||
#####################################################################################################################################
|
||||
if [ -f ".venv" ]; then
|
||||
if [ -d ".venv" ]; then
|
||||
#############################################################################################################################
|
||||
if [ -f ".venv/bin/activate" ]; then
|
||||
#####################################################################################################################
|
||||
cat .venv/bin/activate|grep BOT_SASL_USERNAME
|
||||
@ -140,15 +141,12 @@ if [ -f ".venv" ]; then
|
||||
echo "export PYTHONASYNCIODEBUG=1" >> .venv/bin/activate
|
||||
fi
|
||||
#####################################################################################################################
|
||||
|
||||
|
||||
#############################################################################################################################
|
||||
else
|
||||
mv .venv .backup_venv
|
||||
pipenv --python 3.9
|
||||
pipenv install --skip-lock
|
||||
pipenv run maple
|
||||
|
||||
fi
|
||||
#############################################################################################################################
|
||||
#####################################################################################################################################
|
||||
@ -164,4 +162,4 @@ else
|
||||
fi
|
||||
#####################################################################################################################################
|
||||
pipenv run maple
|
||||
################################################################################################################################# EOF
|
||||
################################################################################################################################# EOF
|
Loading…
Reference in New Issue
Block a user