|
@ -13,16 +13,6 @@ fn_install_steamcmd(){ |
|
|
if [ ! -d "${steamcmddir}" ]; then |
|
|
if [ ! -d "${steamcmddir}" ]; then |
|
|
mkdir -p "${steamcmddir}" |
|
|
mkdir -p "${steamcmddir}" |
|
|
fi |
|
|
fi |
|
|
remote_fileurl="${1}" |
|
|
|
|
|
remote_fileurl_backup="${2}" |
|
|
|
|
|
remote_fileurl_name="${3}" |
|
|
|
|
|
remote_fileurl_backup_name="${4}" |
|
|
|
|
|
local_filedir="${5}" |
|
|
|
|
|
local_filename="${6}" |
|
|
|
|
|
chmodx="${7:-0}" |
|
|
|
|
|
run="${8:-0}" |
|
|
|
|
|
forcedl="${9:-0}" |
|
|
|
|
|
md5="${10:-0}" |
|
|
|
|
|
fn_fetch_file "http://media.steampowered.com/client/steamcmd_linux.tar.gz" "" "" "" "${tmpdir}" "steamcmd_linux.tar.gz" "" "norun" "noforce" "nomd5" |
|
|
fn_fetch_file "http://media.steampowered.com/client/steamcmd_linux.tar.gz" "" "" "" "${tmpdir}" "steamcmd_linux.tar.gz" "" "norun" "noforce" "nomd5" |
|
|
fn_dl_extract "${tmpdir}" "steamcmd_linux.tar.gz" "${steamcmddir}" |
|
|
fn_dl_extract "${tmpdir}" "steamcmd_linux.tar.gz" "${steamcmddir}" |
|
|
chmod +x "${steamcmddir}/steamcmd.sh" |
|
|
chmod +x "${steamcmddir}/steamcmd.sh" |
|
|