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

Die if arch nor amd64

This commit is contained in:
ericgaspar 2021-11-28 09:32:38 +01:00
parent 231440fc7e
commit 18a3facbc6

View file

@ -25,6 +25,7 @@ path_url="/"
admin=$YNH_APP_ARG_ADMIN
is_public=$YNH_APP_ARG_IS_PUBLIC
password=$YNH_APP_ARG_PASSWORD
architecture=$YNH_ARCH
app=$YNH_APP_INSTANCE_NAME
@ -39,6 +40,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 [[ "$architecture" -ne "amd64" ]]
then
ynh_die --message="Your processor architecture is not supported"
fi
#=================================================
# STORE SETTINGS FROM MANIFEST
#=================================================