From 7b7547e3d225ae0fdc0141761a0ecc1e5cc85f6b Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Wed, 14 Aug 2024 09:43:55 +0330 Subject: [PATCH] Remove requirements --- core/scripts/telegrambot/runbot.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/core/scripts/telegrambot/runbot.sh b/core/scripts/telegrambot/runbot.sh index c7219cc..c4ac92e 100644 --- a/core/scripts/telegrambot/runbot.sh +++ b/core/scripts/telegrambot/runbot.sh @@ -1,14 +1,6 @@ #!/bin/bash source /etc/hysteria/core/scripts/utils.sh define_colors -install_dependencies() { - echo "Installing dependencies from /etc/hysteria/requirements.txt..." - if ! pip3 install -r /etc/hysteria/requirements.txt > /dev/null 2>&1; then - echo "Error: Failed to install dependencies. Please check the requirements file and try again." - exit 1 - fi - echo -e "${green}Dependencies installed successfully. ${NC}" -} update_env_file() { local api_token=$1 @@ -47,7 +39,6 @@ start_service() { return fi - install_dependencies update_env_file "$api_token" "$admin_user_ids" create_service_file