From 0153290272baa43958f86248c95dd03981e7007e Mon Sep 17 00:00:00 2001 From: Davte Date: Fri, 30 Apr 2021 22:26:37 +0200 Subject: [PATCH] Bug in installation script fixed --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 525e470..9a5cda0 100755 --- a/install.sh +++ b/install.sh @@ -7,10 +7,10 @@ configuration_file="$this_script_directory/my_config.sh"; passwords_file="$this_script_directory/ciclopibot/data/passwords.py"; # 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 - " venv_name; +echo "Enter a name for your virtual environment"; +read venv_name; python3 -m venv "$venv_name"; "$venv_name"/bin/pip install -r "$this_script_directory/requirements.txt";