fix_arma3.sh 579 B

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