Explorar el Código

fix: update version to 2.3.1 in install script and environment file

Manuel hace 8 meses
padre
commit
d5fa8cb27b
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      install.sh

+ 2 - 2
install.sh

@@ -279,7 +279,7 @@ updateOrCloneRepo() {
 
 updateEnvVersion() {
     local install_dir="${1:-/opt/SquidStats}"
-    local CURRENT_VERSION="2.3"  # Variable de versión actual del script
+    local CURRENT_VERSION="2.3.1"  # Variable de versión actual del script
     local env_file="$install_dir/.env"
     
     log_msg "INFO" "Verificando versión en .env ($env_file)"
@@ -332,7 +332,7 @@ createEnvFile() {
         log_msg "INFO" "Creando archivo .env en $env_file"
         echo "Creando archivo de configuración .env..."
         cat >"$env_file" <<EOF
-VERSION=2.3
+VERSION=2.3.1
 SQUID_HOST=127.0.0.1
 SQUID_PORT=3128
 LOG_FORMAT=DETAILED