Просмотр исходного кода

fix: update install script URL to version 2.1 and add local destination path

Manuel 11 месяцев назад
Родитель
Сommit
69f5cdb4a7
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      install.sh
  2. 1 1
      utils/updateSquidStats.py

+ 1 - 1
install.sh

@@ -86,7 +86,7 @@ function checkSquidLog() {
 
 function updateOrCloneRepo() {
     local repo_url="https://github.com/kaelthasmanu/SquidStats.git"
-    local destinos=("/opt/SquidStats" "/usr/share/squidstats")
+    local destinos=("/opt/SquidStats" "/usr/share/squidstats" "/Users/manuel/Desktop/Projects/codeSquidStats/SquidStats")
     local branch="main"
     local env_exists=false
     local found_dir=""

+ 1 - 1
utils/updateSquidStats.py

@@ -25,7 +25,7 @@ def updateSquidStats():
             ) as tmp_script:
                 tmp_script_path = tmp_script.name
                 response = requests.get(
-                    "https://github.com/kaelthasmanu/SquidStats/releases/download/2.0/install.sh",
+                    "https://github.com/kaelthasmanu/SquidStats/releases/download/2.1/install.sh",
                     proxies=proxies,
                     timeout=30,
                 )