aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-10-29 00:02:22 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:33 +0200
commitcc0f3bf97a5138e8c4f2e121f304eda7beac56a9 (patch)
tree4469465cfb323bf133b30be69089c5f2b38cdbfd /install.sh
parent518407c80204dcaae91bb4afebea2355a589e595 (diff)
Add cygwin support
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 530a7bc..44cb648 100755
--- a/install.sh
+++ b/install.sh
@@ -13,6 +13,12 @@ case "$(uname -s)" in
OpenBSD*)
bin_dir="/usr/local/bin"
;;
+ CYGWIN*)
+ bin_dir="/usr/bin"
+ sudo() {
+ "$@"
+ }
+ ;;
*)
echo "The install file can only be run on linux, mac and openbsd" && exit 1
;;