Browse Source

fix: datadir bug

Daniel Gibbs 1 năm trước cách đây
mục cha
commit
3335ca53a0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      linuxgsm.sh

+ 1 - 1
linuxgsm.sh

@@ -345,7 +345,7 @@ fi
 # LinuxGSM installer mode.
 if [ "${shortname}" == "core" ]; then
 	# Download the latest serverlist. This is the complete list of all supported servers.
-	fn_bootstrap_fetch_file_github "${datadir}" "serverlist.csv" "${datadir}" "nochmodx" "norun" "forcedl" "nomd5"
+	fn_bootstrap_fetch_file_github "lgsm/data" "serverlist.csv" "${datadir}" "nochmodx" "norun" "forcedl" "nomd5"
 	if [ ! -f "${serverlist}" ]; then
 		echo -e "[ FAIL ] serverlist.csv could not be loaded."
 		exit 1