瀏覽代碼

reverted back to tmpdir

Daniel Gibbs 9 年之前
父節點
當前提交
baf6705ff5
共有 1 個文件被更改,包括 2 次插入2 次删除
  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