diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-10-29 00:02:22 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:33 +0200 |
commit | cc0f3bf97a5138e8c4f2e121f304eda7beac56a9 (patch) | |
tree | 4469465cfb323bf133b30be69089c5f2b38cdbfd /install.sh | |
parent | 518407c80204dcaae91bb4afebea2355a589e595 (diff) |
Add cygwin support
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 ;; |