mirror of
https://github.com/YunoHost-Apps/owncast_ynh.git
synced 2024-09-03 19:56:20 +02:00
Fix
This commit is contained in:
parent
00b5db98ae
commit
f0164f7b5e
2 changed files with 1 additions and 3 deletions
|
@ -28,9 +28,7 @@ pkg_dependencies="ffmpeg"
|
||||||
# Requires YunoHost version 2.2.4 or higher.
|
# Requires YunoHost version 2.2.4 or higher.
|
||||||
ynh_detect_arch(){
|
ynh_detect_arch(){
|
||||||
local architecture
|
local architecture
|
||||||
if [ -n "$(uname -m | grep 86)" ]; then
|
if [ -n "$(uname -m | grep 64)" ]; then
|
||||||
architecture="i386"
|
|
||||||
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
|
||||||
architecture="arm7"
|
architecture="arm7"
|
||||||
|
|
Loading…
Add table
Reference in a new issue