workaround for OpenBSD

Signed-off-by: R4SAS <r4sas@i2pmail.org>

Former-commit-id: fa0e02f1d6c35ce36a4d5835671b8cac2f8d62d8
This commit is contained in:
R4SAS 2021-06-21 17:09:32 +03:00
parent f06eee67f0
commit 059cd2a9c9

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!"