Explorar el Código

reverted back to tmpdir

Daniel Gibbs hace 9 años
padre
commit
baf6705ff5
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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