fix_ss3.sh 558 B

1234567891011121314
  1. #!/bin/bash
  2. # LinuxGSM fix_ss3.sh function
  3. # Author: Daniel Gibbs
  4. # Website: https://linuxgsm.com
  5. # Description: Resolves various issues with Serious Sam 3.
  6. local commandname="FIX"
  7. local commandaction="Fix"
  8. local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
  9. # Fixes https://steamcommunity.com/app/41070/discussions/0/353916981477716386/
  10. if [ "$(diff "${steamcmddir}/linux32/steamclient.so" "${serverfiles}/Bin/steamclient.so" >/dev/null)" ]; then
  11. cp -f "${steamcmddir}/linux32/steamclient.so" "${serverfiles}/Bin/steamclient.so"
  12. fi