Sfoglia il codice sorgente

Fix Linux Mint codename

bryan 1 mese fa
parent
commit
3c67f8ee62
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      installJRMC

+ 2 - 1
installJRMC

@@ -1653,7 +1653,8 @@ update_self() {
     local_version=${local_version%-dev}
 
     local remote_version
-    grep -m 1 'SCRIPT_VERSION=' "$SCRIPT_PATH"
+    cat $tmp
+    grep -m 1 'SCRIPT_VERSION=' "$tmp"
     remote_version=$(grep -m 1 'SCRIPT_VERSION=' "$tmp")
     remote_version=${remote_version#*=}
     remote_version=${remote_version#\"}