Browse Source

workaround for OpenBSD

Signed-off-by: R4SAS <r4sas@i2pmail.org>
R4SAS 3 years ago
parent
commit
fa0e02f1d6
Signed by untrusted user: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 4
      linux/build/build

4
linux/build/build

@ -16,6 +16,10 @@ version="78.11.0esr"
application="firefox" application="firefox"
ftpmirror="https://ftp.mozilla.org/pub/$application/releases/$version" 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) curlfind=$(which curl)
if [ -z $curlfind ]; then if [ -z $curlfind ]; then
echo "'cURL' does not seem to be installed. The script needs it!" echo "'cURL' does not seem to be installed. The script needs it!"

Loading…
Cancel
Save