1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/focalboard_ynh.git synced 2024-09-03 18:36:19 +02:00

Fail if architecture is not amd64

This commit is contained in:
tituspijean 2022-04-12 00:34:39 +02:00
parent f49ca8e32d
commit 12f0ca9223
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -35,6 +35,8 @@ app=$YNH_APP_INSTANCE_NAME
#=================================================
ynh_script_progression --message="Validating installation parameters..." --weight=1
[ $YNH_ARCH == "amd64" ] || ynh_die --message="Unfortunately, Focalboard only provides binaries for AMD64 systems."
final_path=/opt/yunohost/$app
test ! -e "$final_path" || ynh_die --message="This path already contains a folder"