From 4855580013fb4d18213151b100019847d7de6376 Mon Sep 17 00:00:00 2001 From: Matteo Hausner Date: Fri, 24 May 2024 23:59:06 +0200 Subject: [PATCH] OS detection: relax matching requirements for linux 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*'. --- InstallControllerBuddy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InstallControllerBuddy.sh b/InstallControllerBuddy.sh index 00b4047..f2d1d73 100755 --- a/InstallControllerBuddy.sh +++ b/InstallControllerBuddy.sh @@ -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"