-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinstall.sh
More file actions
30 lines (27 loc) · 1001 Bytes
/
install.sh
File metadata and controls
30 lines (27 loc) · 1001 Bytes
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
26
27
28
29
30
#!/usr/bin/env bash
if [[ "$OSTYPE" == "linux-gnu" ]]; then
if grep -qi microsoft /proc/version 2>/dev/null; then
bash <(curl -s https://raw.githubusercontent.com/mahbubzulkarnain/setup/master/wsl.sh)
else
bash <(curl -s https://raw.githubusercontent.com/mahbubzulkarnain/setup/master/debian.sh)
fi
elif [[ "$OSTYPE" == "darwin"* ]]; then
bash <(curl -s https://raw.githubusercontent.com/mahbubzulkarnain/setup/master/mac.sh)
fi
echo "Link start!!!"
#elif [[ "$OSTYPE" == "cygwin" ]]; then
# # POSIX compatibility layer and Linux environment emulation for Windows
# echo 'mac'
#elif [[ "$OSTYPE" == "msys" ]]; then
# # Lightweight shell and GNU utilities compiled for Windows (part of MinGW)
# echo 'mac'
#elif [[ "$OSTYPE" == "win32" ]]; then
# # I'm not sure this can happen.
# echo 'mac'
#elif [[ "$OSTYPE" == "freebsd"* ]]; then
# # ...
# echo 'mac'
#else
# # Unknown.
# echo 'undefined'
#fi