mirror of
https://github.com/kha7iq/pingme.git
synced 2025-05-15 22:30:11 -07:00
fix: check for arch and set value
This commit is contained in:
parent
5220398da3
commit
7277d3386f
@ -41,6 +41,11 @@ fi
|
|||||||
|
|
||||||
machine=$(uname -m)
|
machine=$(uname -m)
|
||||||
|
|
||||||
|
if [ "$machine" = "x86_64" ]; then
|
||||||
|
machine="amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
case $(uname -s) in
|
case $(uname -s) in
|
||||||
Linux)
|
Linux)
|
||||||
os="Linux"
|
os="Linux"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user