From 30419080041cf70c797cbe366d56a631d5705ddb Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 14 May 2022 11:31:15 +0200 Subject: [PATCH 1/2] Prevent installation on ARM and ARM64 --- doc/DISCLAIMER.md | 1 + scripts/install | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index d1b6e63..f3bd39d 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -1,3 +1,4 @@ +* ARM and ARM64 architectures are not supported * The app can only be installed at the root of a domain * There is no integration with YunoHost SSO * A email is send at the end of the installation with the Beta Invite Code diff --git a/scripts/install b/scripts/install index 7c43d51..5ea9d83 100755 --- a/scripts/install +++ b/scripts/install @@ -35,6 +35,11 @@ app=$YNH_APP_INSTANCE_NAME #================================================= ynh_script_progression --message="Validating installation parameters..." --weight=1 +if [[ $YNH_ARCH =~ ^arm ]] || [ $YNH_ARCH == "aarch64" ] +then + ynh_die --message="Sorry, this app cannot be installed on ARM and ARM64 architectures." +fi + final_path=/var/www/$app test ! -e "$final_path" || ynh_die --message="This path already contains a folder" From e5edf55b907a708d121e976ac39aef4e9a508350 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 14 May 2022 09:31:31 +0000 Subject: [PATCH 2/2] Auto-update README --- README.md | 1 + README_fr.md | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index eb9f079..8ebeaaa 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ A web based, real time, collaborative whiteboard application with rich media sup ## Disclaimers / important information +* ARM and ARM64 architectures are not supported * The app can only be installed at the root of a domain * There is no integration with YunoHost SSO * A email is send at the end of the installation with the Beta Invite Code diff --git a/README_fr.md b/README_fr.md index b131a43..47ed6f8 100644 --- a/README_fr.md +++ b/README_fr.md @@ -24,6 +24,7 @@ A web based, real time, collaborative whiteboard application with rich media sup ## Avertissements / informations importantes +* ARM and ARM64 architectures are not supported * The app can only be installed at the root of a domain * There is no integration with YunoHost SSO * A email is send at the end of the installation with the Beta Invite Code