Skip to content

Commit

Permalink
OS detection: relax matching requirements for linux
Browse files Browse the repository at this point in the history
E.g. openSUESE has the OSTYPE variable set just to 'linux' unlike most
other distros, that use 'linux-gnu'.
So now  we simply match on 'linux*'.
  • Loading branch information
bwRavencl committed May 24, 2024
1 parent 0cf59b7 commit 4855580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion InstallControllerBuddy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ case "$OSTYPE" in
DCS_STABLE_USER_DIR="$SAVED_GAMES_DIR\\DCS"
DCS_OPEN_BETA_USER_DIR="$SAVED_GAMES_DIR\\DCS.openbeta"
;;
linux-gnu)
linux*)
LOG_FILE="/tmp/InstallControllerBuddy.log"
TMP_INSTALL_SCRIPT_FILE="/tmp/InstallControllerBuddy.sh"
CB_PARENT_DIR="$HOME"
Expand Down

0 comments on commit 4855580

Please sign in to comment.