mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-02 17:08:38 +08:00
Update docker-installer.sh
This commit is contained in:
parent
c010d27e19
commit
b637fc3a4c
@ -455,7 +455,7 @@ sudo chmod +x /tmp/setup.sh
|
|||||||
get_install_information(){
|
get_install_information(){
|
||||||
install_dir=`curl -s https://raw.githubusercontent.com/Websoft9/docker-$repo_name/main/variables.json |jq -r .installpath` 1>/dev/null
|
install_dir=`curl -s https://raw.githubusercontent.com/Websoft9/docker-$repo_name/main/variables.json |jq -r .installpath` 1>/dev/null
|
||||||
compose_file_name=`curl -s https://raw.githubusercontent.com/Websoft9/docker-$repo_name/main/variables.json |jq -r .compose_file` 1>/dev/null
|
compose_file_name=`curl -s https://raw.githubusercontent.com/Websoft9/docker-$repo_name/main/variables.json |jq -r .compose_file` 1>/dev/null
|
||||||
compose_env_url="https://raw.githubusercontent.com/Websoft9/docker-$repo_name/main/.env_all"
|
compose_env_url="https://raw.githubusercontent.com/Websoft9/docker-$repo_name/main/.env"
|
||||||
url_status=`curl -s -m 5 -IL $compose_env_url |grep 200 || true`
|
url_status=`curl -s -m 5 -IL $compose_env_url |grep 200 || true`
|
||||||
if [[ $url_status == "" ]];then
|
if [[ $url_status == "" ]];then
|
||||||
sudo echo "The env file does not exist"
|
sudo echo "The env file does not exist"
|
||||||
|
Loading…
Reference in New Issue
Block a user