mirror of
https://github.com/YunoHost-Apps/owncast_ynh.git
synced 2024-09-03 19:56:20 +02:00
Update _common.sh
This commit is contained in:
parent
0071d7c4a3
commit
9c8f73d40e
1 changed files with 2 additions and 4 deletions
|
@ -28,12 +28,10 @@ pkg_dependencies="ffmpeg"
|
|||
# Requires YunoHost version 2.2.4 or higher.
|
||||
ynh_detect_arch(){
|
||||
local architecture
|
||||
if [ -n "$(uname -m | grep arm64)" ] || [ -n "$(uname -m | grep aarch64)" ]; then
|
||||
architecture="arm7"
|
||||
elif [ -n "$(uname -m | grep 86)" ]; then
|
||||
if [ -n "$(uname -m | grep 86)" ]; then
|
||||
architecture="i386"
|
||||
elif [ -n "$(uname -m | grep 64)" ]; then
|
||||
architecture="amd64"
|
||||
architecture="x86-64"
|
||||
elif [ -n "$(uname -m | grep armv7)" ]; then
|
||||
architecture="arm7"
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue