mirror of
https://github.com/shijimasoft/cia-unix.git
synced 2025-06-18 14:25:34 -04:00
Merge pull request #27 from SwitchAxe/os-detection-fix
Fixed OSTYPE check for when linux is reported as 'linux' instead of 'linux-gnu'
This commit is contained in:
commit
592eed3dd4
@ -42,7 +42,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
fi
|
||||
|
||||
# Linux (x86_64)
|
||||
elif [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||
elif [[ "$OSTYPE" == "linux-gnu"* || "$OSTYPE" == "linux" ]]; then
|
||||
echo " * Downloading ${BOLD}ctrdecrypt${NORMAL}"
|
||||
wget "https://github.com/shijimasoft/ctrdecrypt/releases/download/v${CTRDECRYPT_VER}/ctrdecrypt-linux-x86_64.zip" -q
|
||||
echo " * Extracting ${BOLD}ctrdecrypt${NORMAL}"
|
||||
|
Loading…
Reference in New Issue
Block a user