workaround for OpenBSD
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
b442b2c71e
commit
fa0e02f1d6
@ -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…
x
Reference in New Issue
Block a user