mirror of
https://github.com/YunoHost-Apps/commento_ynh.git
synced 2024-09-03 18:16:16 +02:00
Merge pull request #2 from YunoHost-Apps/testing
Dies if arch not amd64
This commit is contained in:
commit
b412fb2fdd
4 changed files with 9 additions and 3 deletions
|
@ -28,7 +28,7 @@ Commento allows you to foster discussion on your website – if you have a blog,
|
||||||
- Upvotes and downvotes
|
- Upvotes and downvotes
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 1.8.0~ynh1
|
**Shipped version:** 1.8.0~ynh2
|
||||||
|
|
||||||
**Demo:** https://demo.commento.io/
|
**Demo:** https://demo.commento.io/
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ Commento allows you to foster discussion on your website – if you have a blog,
|
||||||
- Upvotes and downvotes
|
- Upvotes and downvotes
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 1.8.0~ynh1
|
**Version incluse :** 1.8.0~ynh2
|
||||||
|
|
||||||
**Démo :** https://demo.commento.io/
|
**Démo :** https://demo.commento.io/
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Fast, privacy-focused commenting platform",
|
"en": "Fast, privacy-focused commenting platform",
|
||||||
"fr": "Plateforme de commentaires rapide axée sur la confidentialité"
|
"fr": "Plateforme de commentaires rapide axée sur la confidentialité"
|
||||||
},
|
},
|
||||||
"version": "1.8.0~ynh1",
|
"version": "1.8.0~ynh2",
|
||||||
"url": "https://commento.io/",
|
"url": "https://commento.io/",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -25,6 +25,7 @@ path_url="/"
|
||||||
admin=$YNH_APP_ARG_ADMIN
|
admin=$YNH_APP_ARG_ADMIN
|
||||||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||||
password=$YNH_APP_ARG_PASSWORD
|
password=$YNH_APP_ARG_PASSWORD
|
||||||
|
architecture=$YNH_ARCH
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
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
|
# Register (book) web path
|
||||||
ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url
|
ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url
|
||||||
|
|
||||||
|
if [[ "$architecture" != "amd64" ]]
|
||||||
|
then
|
||||||
|
ynh_die --message="Your processor architecture is not supported"
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STORE SETTINGS FROM MANIFEST
|
# STORE SETTINGS FROM MANIFEST
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue