-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathinstall.sh
executable file
·25 lines (24 loc) · 1.03 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env bash
# bash -c "`curl -fsSL https://raw.githubusercontent.com/RealStr1ke/dotfiles/master/install.sh`"
# If Linux is detected, run bootstrap/linux.sh
# If macOS is detected, tell the user that macOS is not supported yet.
# If Windows is detected, tell the user that Windows is not supported yet.
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
echo "=====> Detected OS: Linux"
bash -c "`curl -fsSL https://raw.githubusercontent.com/RealStr1ke/dotfiles/master/bootstrap/linux.sh`"
elif [[ "$OSTYPE" == "darwin"* ]]; then
echo "=====> Detected OS: macOS"
echo "=====> macOS is not supported yet."
elif [[ "$OSTYPE" == "cygwin" ]]; then
echo "=====> Detected OS: Windows"
echo "=====> Windows is not supported yet."
elif [[ "$OSTYPE" == "msys" ]]; then
echo "=====> Detected OS: Windows"
echo "=====> Windows is not supported yet."
elif [[ "$OSTYPE" == "win32" ]]; then
echo "=====> Detected OS: Windows"
echo "=====> Windows is not supported yet."
else
echo "=====> Detected OS: Unknown"
echo "=====> Unknown OS is not supported yet."
fi