Sfoglia il codice sorgente

reverted back to tmpdir

Daniel Gibbs 9 anni fa
parent
commit
baf6705ff5
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      linuxgsm.sh

+ 2 - 2
linuxgsm.sh

@@ -364,8 +364,8 @@ else
 		source "${configdirserver}/${servicename}.cfg"
 	fi
 	# Load the linuxgsm.sh in to tmpdir. If missing download it
-	if [ ! -f "${functionsdir}/linuxgsm.sh" ];then
-		fn_fetch_file_github "" "linuxgsm.sh" "${functionsdir}" "chmodx" "norun" "noforcedl" "nomd5"
+	if [ ! -f "${tmpdir}/linuxgsm.sh" ];then
+		fn_fetch_file_github "" "linuxgsm.sh" "${tmpdir}" "chmodx" "norun" "noforcedl" "nomd5"
 	fi
 	getopt=$1
 	core_getopt.sh