Remove requirements

This commit is contained in:
Whispering Wind
2024-08-14 09:43:55 +03:30
committed by GitHub
parent c6d8978438
commit 7b7547e3d2

View File

@ -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