mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
Update _common.sh
This commit is contained in:
parent
630522aab7
commit
6a5d3739c5
1 changed files with 1 additions and 3 deletions
|
@ -30,8 +30,6 @@ ynh_detect_arch(){
|
||||||
local architecture
|
local architecture
|
||||||
if [ -n "$(uname -m | grep arm64)" ] || [ -n "$(uname -m | grep aarch64)" ]; then
|
if [ -n "$(uname -m | grep arm64)" ] || [ -n "$(uname -m | grep aarch64)" ]; then
|
||||||
architecture="arm64"
|
architecture="arm64"
|
||||||
elif [ -n "$(uname -m | grep 86)" ]; then
|
|
||||||
architecture="i386"
|
|
||||||
elif [ -n "$(uname -m | grep 64)" ]; then
|
elif [ -n "$(uname -m | grep 64)" ]; then
|
||||||
architecture="x86-64"
|
architecture="x86-64"
|
||||||
elif [ -n "$(uname -m | grep armv7)" ]; then
|
elif [ -n "$(uname -m | grep armv7)" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue