mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
Check if architecture is ARM and cancel installation directly
This commit is contained in:
parent
248b717f37
commit
ffd6772d3d
1 changed files with 5 additions and 0 deletions
|
@ -46,6 +46,11 @@ test ! -e "$final_path" || ynh_die --message="This path already contains a folde
|
|||
# Register (book) web path
|
||||
ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url
|
||||
|
||||
if uname -m | grep -q arm
|
||||
then
|
||||
ynh_die --message="Unfortunately, this app can not be installed on ARM at the moment. Feel free to open a discussion on https://github.com/YunoHost-Apps/mastodon_ynh/issues to discuss the compatibility. (Additionaly, for small ARM boards you may consider Pleroma as a lighter and more suitable alternative to Mastodon)"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# STORE SETTINGS FROM MANIFEST
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue