1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/owncast_ynh.git synced 2024-09-03 19:56:20 +02:00
This commit is contained in:
ericgaspar 2021-08-07 10:02:48 +02:00
parent 00b5db98ae
commit f0164f7b5e
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 1 additions and 3 deletions

View file

@ -28,9 +28,7 @@ pkg_dependencies="ffmpeg"
# Requires YunoHost version 2.2.4 or higher.
ynh_detect_arch(){
local architecture
if [ -n "$(uname -m | grep 86)" ]; then
architecture="i386"
elif [ -n "$(uname -m | grep 64)" ]; then
if [ -n "$(uname -m | grep 64)" ]; then
architecture="x86-64"
elif [ -n "$(uname -m | grep armv7)" ]; then
architecture="arm7"