Skip to content

Commit 7e6f6ba

Browse files
committed
Fix: Install - $OSTYPE at OpenSUSE
1 parent 2e43462 commit 7e6f6ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ mac_command_line_developer_tools() {
6767

6868
check_git() {
6969
if ! [ -x "$(command -v git)" ]; then
70-
if [ "${OSTYPE}" == "linux-gnu" ] || [ "${OSTYPE}" == "FreeBSD" ]; then
70+
if [[ "${OSTYPE}" == "linux"* || "${OSTYPE}" == "FreeBSD" ]]; then
7171
pacapt_install
7272
sudo pacapt -S git
7373
pacapt_uninstall

0 commit comments

Comments
 (0)