Closed denji closed 5 years ago
CentOS "shasum" is called "sha{BIT}sum"
/usr/bin/sha{BIT}sum
alias shasum="/usr/bin/sha{BIT}sum"
/usr/bin/openssl sha{BIT}
alias shasum="/usr/bin/openssl sha{BIT}"
yum install -y perl-Digest-SHA
-[name, tempfile.size, `shasum -a 256 #{tempfile.path}`[/[a-f0-9]+/], url].join("|") +[name, tempfile.size, `sha256sum #{tempfile.path}`[/[a-f0-9]+/], url].join("|")
-[name, tempfile.size, `shasum -a 256 #{tempfile.path}`[/[a-f0-9]+/], url].join("|") +[name, tempfile.size, `openssl sha256 #{tempfile.path}`[/[a-f0-9]+/], url].join("|")
CentOS "shasum" is called "sha{BIT}sum"
/usr/bin/sha{BIT}sum
alias shasum="/usr/bin/sha{BIT}sum"
/usr/bin/openssl sha{BIT}
~alias shasum="/usr/bin/openssl sha{BIT}"
~yum install -y perl-Digest-SHA
chpharos/build/generate_download_list.rb