fix_arma3.sh 579 B

1234567891011121314151617
  1. #!/bin/bash
  2. # LGSM fix_arma3.sh function
  3. # Author: Daniel Gibbs
  4. # Website: https://gameservermanagers.com
  5. # Description: Resolves an issue with ARMA3.
  6. local commandname="FIX"
  7. local commandaction="Fix"
  8. local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
  9. # Fixes: 20150 Segmentation fault (core dumped) error.
  10. if [ ! -d "${HOME}/.local/share/Arma 3" ]||[ ! -d "${HOME}/.local/share/Arma 3 - Other Profiles" ]; then
  11. fixname="20150 Segmentation fault (core dumped)"
  12. fn_fix_msg_start
  13. mkdir -p "${HOME}/.local/share/Arma 3 - Other Profiles"
  14. fn_fix_msg_end
  15. fi