Samrand Hassan 2 лет назад
Родитель
Сommit
e1c04485df
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      easy-install.sh

+ 4 - 2
easy-install.sh

@@ -2,8 +2,8 @@
 
 # Check if Docker is installed
 if ! [ -x "$(command -v docker)" ]; then
-  read -p "Docker is not installed. Would you like to install Docker? (yes/no): " INSTALL_DOCKER
-  if [ $INSTALL_DOCKER == "yes" ]; then
+  read -p "Docker is not installed. Do you want to install Docker? (Y/n): " INSTALL_DOCKER
+  if [ ${INSTALL_DOCKER:-Y} == "Y" ]; then
     sudo su -c "bash <(wget -qO- https://get.docker.com)" root
     apt install -y docker-compose
   else
@@ -12,6 +12,8 @@ if ! [ -x "$(command -v docker)" ]; then
   fi
 fi
 
+# Continue with the rest of the script...
+
 
 # Clone the git repository
 git clone https://github.com/samrandhaji/v2ray-nginx-cdn.git