mirror of
https://github.com/shijimasoft/cia-unix.git
synced 2025-06-18 22:35:41 -04:00
Fixed OSTYPE check for when linux is reported as 'linux' instead of 'linux-gnu'
This commit is contained in:
parent
874ec61bf2
commit
d4091410c2
@ -42,7 +42,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Linux (x86_64)
|
# Linux (x86_64)
|
||||||
elif [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
elif [[ "$OSTYPE" == "linux-gnu"* || "$OSTYPE" == "linux" ]]; then
|
||||||
echo " * Downloading ${BOLD}ctrdecrypt${NORMAL}"
|
echo " * Downloading ${BOLD}ctrdecrypt${NORMAL}"
|
||||||
wget "https://github.com/shijimasoft/ctrdecrypt/releases/download/v${CTRDECRYPT_VER}/ctrdecrypt-linux-x86_64.zip" -q
|
wget "https://github.com/shijimasoft/ctrdecrypt/releases/download/v${CTRDECRYPT_VER}/ctrdecrypt-linux-x86_64.zip" -q
|
||||||
echo " * Extracting ${BOLD}ctrdecrypt${NORMAL}"
|
echo " * Extracting ${BOLD}ctrdecrypt${NORMAL}"
|
||||||
|
Loading…
Reference in New Issue
Block a user