kontena / chpharos

Pharos version switcher
https://get.pharos.sh/
Apache License 2.0
3 stars 4 forks source link

Try using sha256sum if shasum is not installed #42

Closed kke closed 5 years ago

kke commented 5 years ago

Fixes #41

Debian systems seem to have sha256sum installed by default but do not have a shasum that accepts the -a 256 option.

This PR uses sha256sum if shasum is not installed.