Explorar el Código

Update install.sh

mhsanaei hace 4 meses
padre
commit
99cadf7652
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      install.sh

+ 2 - 1
install.sh

@@ -152,8 +152,9 @@ config_after_install() {
             echo -e "${green}New WebBasePath: ${config_webBasePath}${plain}"
         else
             echo -e "${green}Username, Password, and WebBasePath are already set. Exiting...${plain}"
-            return 0
         fi
+        /usr/local/x-ui/x-ui migrate
+        return 0
     fi
 
     read -p "Would you like to customize the Panel Port settings? (If not, random settings will be applied) [y/n]: " config_confirm