workaround for OpenBSD

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2021-06-21 17:09:32 +03:00
parent b442b2c71e
commit fa0e02f1d6
Signed by untrusted user: r4sas
GPG Key ID: 66F6C87B98EBCFE2

View File

@ -16,6 +16,10 @@ version="78.11.0esr"
application="firefox"
ftpmirror="https://ftp.mozilla.org/pub/$application/releases/$version"
if [ "$arch" == "amd64" ]; then # OpenBSD (and maybe FreeBSD) returns amd64 as architecture instead x86_64
arch=x86_64
fi
curlfind=$(which curl)
if [ -z $curlfind ]; then
echo "'cURL' does not seem to be installed. The script needs it!"