Bug in installation script fixed

This commit is contained in:
Davte 2021-04-30 22:29:26 +02:00
parent 0153290272
commit 9385401154
Signed by: Davte
GPG Key ID: 209AE674A0007425
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@
__author__ = "Davide Testa"
__email__ = "davide@davte.it"
__license__ = "GNU General Public License v3.0"
__version__ = "1.2.5"
__version__ = "1.2.6"
__maintainer__ = "Davide Testa"
__contact__ = "t.me/davte"

View File

@ -18,7 +18,8 @@ python3 -m venv "$venv_name";
# Other systems may require a different path.
echo "python_virtual_environment=\"$(pwd)/$venv_name/bin\";" >> "$configuration_file";
echo "python_script=\"$this_script_directory/ciclopibot/bot.py\";" >> "$configuration_file";
read -r "Enter a valid Telegram bot token " bot_token;
echo "Enter a valid Telegram bot token";
read bot_token;
echo "bot_token = \"$bot_token\"" >> "$passwords_file";
# Run bot