Commits on Source (2)
-
Currently we are using commandname --version to check wheather a command exists. Hence if a command is not shipped with --version the check fails. For example busybox implementation of sha512sum fails to get detected via this method. Use command -v to check whether a command exists to fix this limitation.
1eed0a4a -
sha512sum uses --check, which is not supported by many other implementations of sha512sum such as busybox. Using -c instead will let this script usable in more distros and OSes.
6f887e5e