Explorar o código

corrected vars

Daniel Gibbs %!s(int64=8) %!d(string=hai) anos
pai
achega
a86f158ee2

+ 1 - 1
lgsm/config-default/config-lgsm/sampserver/_default.cfg

@@ -82,7 +82,7 @@ engine="RenderWare"
 # Edit with care
 
 ## Server Specific Directories
-systemdir="${filesdir}"
+systemdir="${servefiles}"
 executabledir="${systemdir}/samp03"
 executable="./samp03svr"
 servercfg="server.cfg"

+ 1 - 1
lgsm/functions/install_server_files.sh

@@ -40,7 +40,7 @@ fn_install_server_files(){
 	elif [ "${gamename}" == "Wolfenstein: Enemy Territory" ]; then
 		remote_fileurl="http://files.gameservermanagers.com/WolfensteinEnemyTerritory/enemy-territory.260b.tar.bz2"; local_filedir="${tmpdir}"; local_filename="enemy-territory.260b.tar.bz2"; chmodx="nochmodx" run="norun"; force="noforce"; md5="f833f514bfcdd46b42c111f83350c5a7"
 	elif [ "${gamename}" == "San Andreas Multiplayer" ]; then
-		fileurl="http://files.sa-mp.com/samp037svr_R2-1.tar.gz"; filedir="${tmpdir}"; local_filedir="${tmpdir}"; local_filename="samp037svr_R2-1.tar.gz"; chmodx="nochmodx" run="norun"; force="noforce"; md5="6d8fc6f94cd06787406386038d728a5f"
+		remote_fileurl="http://files.sa-mp.com/samp037svr_R2-1.tar.gz"; local_filedir="${tmpdir}"; local_filename="samp037svr_R2-1.tar.gz"; chmodx="nochmodx" run="norun"; force="noforce"; md5="93705e165550c97484678236749198a4"
 	fi
 	fn_fetch_file "${remote_fileurl}" "${local_filedir}" "${local_filename}" "${chmodx}" "${run}" "${forcedl}" "${md5}"
 	fn_dl_extract "${local_filedir}" "${local_filename}" "${serverfiles}"