Bug in installation script fixed

This commit is contained in:
Davte 2021-04-30 22:26:37 +02:00
parent ed0bfd1526
commit c001b56199
Signed by: Davte
GPG Key ID: 209AE674A0007425

View File

@ -7,10 +7,10 @@ configuration_file="$this_script_directory/my_config.sh";
passwords_file="$this_script_directory/ciclopibot/data/passwords.py"; passwords_file="$this_script_directory/ciclopibot/data/passwords.py";
# Create intermediate path for passwords_file, if it does not exist # Create intermediate path for passwords_file, if it does not exist
mkdir -r "$this_script_directory/ciclopibot/data/"; mkdir -p "$this_script_directory/ciclopibot/data/";
read -r "Enter a name for your virtual environment echo "Enter a name for your virtual environment";
" venv_name; read venv_name;
python3 -m venv "$venv_name"; python3 -m venv "$venv_name";
"$venv_name"/bin/pip install -r "$this_script_directory/requirements.txt"; "$venv_name"/bin/pip install -r "$this_script_directory/requirements.txt";