helm/scripts
Niels de Vos bf12ae3934
scripts: do not use optional 'which' command in get-helm installation (#8048)
When installing Helm, the following warning gets printed on the console:

    Downloading https://get.helm.sh/helm-v2.16.6-linux-amd64.tar.gz
    Preparing to install helm and tiller into /usr/local/bin
    helm installed into /usr/local/bin/helm
    tiller installed into /usr/local/bin/tiller
    main: line 178: which: command not found
    Run 'helm init' to configure helm.

The 'which' command is optional, and not always installed on all
environments (like a Fedora container). Instead, use 'command -v' to
detect if the executable is in the $PATH.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-05-12 17:08:53 -06:00
..
completions.bash feat(cli): support XDG base directory specification 2019-08-02 13:15:03 -07:00
coverage.sh fix(coverage): use go list instead of godir 2019-10-22 13:55:14 -07:00
get scripts: do not use optional 'which' command in get-helm installation (#8048) 2020-05-12 17:08:53 -06:00
get-helm-3 scripts: do not use optional 'which' command in get-helm installation (#8048) 2020-05-12 17:08:53 -06:00
release-notes.sh Correcting links for release notes 2020-03-12 14:15:05 -05:00
sync-repo.sh change copyright to "Copyright The Helm Authors" 2018-08-24 12:03:55 -07:00
util.sh change copyright to "Copyright The Helm Authors" 2018-08-24 12:03:55 -07:00
validate-license.sh fix(tests): mapfile is not available on MacOS 2019-12-03 13:15:19 -05:00