Update install.sh with more installation options

This commit is contained in:
Matthieu MOREL 2021-05-31 10:39:11 +02:00 committed by GitHub
parent af27673a87
commit df1249d9b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
#!/bin/sh
set -e
# Code generated by godownloader on 2020-03-02T13:35:13Z. DO NOT EDIT.
# Code generated by godownloader. DO NOT EDIT.
#
usage() {
@ -63,8 +63,11 @@ execute() {
get_binaries() {
case "$PLATFORM" in
darwin/amd64) BINARIES="gosec" ;;
darwin/arm64) BINARIES="gosec" ;;
linux/amd64) BINARIES="gosec" ;;
linux/arm64) BINARIES="gosec" ;;
windows/amd64) BINARIES="gosec" ;;
windows/arm64) BINARIES="gosec" ;;
*)
log_crit "platform $PLATFORM is not supported. Make sure this script is up-to-date and file request at https://github.com/${PREFIX}/issues/new"
exit 1