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

Merge pull request #32 from YunoHost-Apps/arch

Fail if architecture is not amd64
This commit is contained in:
tituspijean 2022-04-18 18:20:01 +02:00 committed by GitHub
commit 245c13803c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View file

@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Focalboard is a project management tool that helps define, organize, track and manage work across teams, using a familiar kanban board view. Focalboard is a project management tool that helps define, organize, track and manage work across teams, using a familiar kanban board view.
**Shipped version:** 0.15.0~ynh1 **Shipped version:** 0.15.0~ynh2

View file

@ -14,7 +14,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Focalboard est un outil de gestion de projet qui aide à définir, organiser, suivre et gérer le travail entre les équipes, à l'aide d'une vue de tableau kanban familière. Focalboard est un outil de gestion de projet qui aide à définir, organiser, suivre et gérer le travail entre les équipes, à l'aide d'une vue de tableau kanban familière.
**Version incluse :** 0.15.0~ynh1 **Version incluse :** 0.15.0~ynh2

View file

@ -6,7 +6,7 @@
"en": "Self-hosted alternative to Trello, Notion, and Asana", "en": "Self-hosted alternative to Trello, Notion, and Asana",
"fr": "Alternative auto-hébergée à Trello, Notion et Asana" "fr": "Alternative auto-hébergée à Trello, Notion et Asana"
}, },
"version": "0.15.0~ynh1", "version": "0.15.0~ynh2",
"url": "https://www.focalboard.com/", "url": "https://www.focalboard.com/",
"upstream": { "upstream": {
"license": "MIT", "license": "MIT",

View file

@ -35,6 +35,8 @@ app=$YNH_APP_INSTANCE_NAME
#================================================= #=================================================
ynh_script_progression --message="Validating installation parameters..." --weight=1 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 final_path=/opt/yunohost/$app
test ! -e "$final_path" || ynh_die --message="This path already contains a folder" test ! -e "$final_path" || ynh_die --message="This path already contains a folder"