|
|
@ -13,7 +13,7 @@ if [ ! -f "${HOME}/.steam/sdk32/steamclient.so" ]; then |
|
|
|
fixname="steamclient.so" |
|
|
|
fn_fix_msg_start |
|
|
|
mkdir -pv "${HOME}/.steam/sdk32" >> "${lgsmlog}" |
|
|
|
cp -v "${steamcmddir}/linux32/steamclient.so" "${HOME}/.steam/sdk32/steamclient.so" >> "${lgsmlog}" |
|
|
|
cp -v "${HOME}/.steam/steamcmd/linux32/steamclient.so" "${HOME}/.steam/sdk32/steamclient.so" >> "${lgsmlog}" |
|
|
|
fn_fix_msg_end |
|
|
|
fi |
|
|
|
|
|
|
@ -22,7 +22,7 @@ if [ "${shortname}" == "bt" ]; then |
|
|
|
if [ ! -L "${executabledir}/lib64/steamclient.so" ]; then |
|
|
|
fixname="steamclient.so x86_64" |
|
|
|
fn_fix_msg_start |
|
|
|
cp -s -v "${steamcmddir}/linux64/steamclient.so" "${executabledir}/lib64/steamclient.so" >> "${lgsmlog}" |
|
|
|
cp -s -v "${HOME}/.steam/steamcmd/linux64/steamclient.so" "${executabledir}/lib64/steamclient.so" >> "${lgsmlog}" |
|
|
|
fn_fix_msg_end |
|
|
|
fi |
|
|
|
elif [ "${shortname}" == "ss3" ]; then |
|
|
@ -39,13 +39,13 @@ elif [ "${shortname}" == "hw" ]; then |
|
|
|
if [ ! -f "${serverfiles}/Hurtworld_Data/Plugins/x86/steamclient.so" ]; then |
|
|
|
fixname="steamclient.so x86" |
|
|
|
fn_fix_msg_start |
|
|
|
cp "${steamcmddir}/linux32/steamclient.so" "${serverfiles}/Hurtworld_Data/Plugins/x86/steamclient.so" >> "${lgsmlog}" |
|
|
|
cp "${HOME}/.steam/steamcmd/linux32/steamclient.so" "${serverfiles}/Hurtworld_Data/Plugins/x86/steamclient.so" >> "${lgsmlog}" |
|
|
|
fn_fix_msg_end |
|
|
|
fi |
|
|
|
if [ ! -f "${serverfiles}/Hurtworld_Data/Plugins/x86_64/steamclient.so" ]; then |
|
|
|
fixname="steamclient.so x86_64" |
|
|
|
fn_fix_msg_start |
|
|
|
cp "${steamcmddir}/linux32/steamclient.so" "${serverfiles}/Hurtworld_Data/Plugins/x86_64/steamclient.so" >> "${lgsmlog}" |
|
|
|
cp "${HOME}/.steam/steamcmd/linux32/steamclient.so" "${serverfiles}/Hurtworld_Data/Plugins/x86_64/steamclient.so" >> "${lgsmlog}" |
|
|
|
fn_fix_msg_end |
|
|
|
fi |
|
|
|
elif [ "${shortname}" == "tu" ]; then |
|
|
|