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

Add link to chattroom

This commit is contained in:
Josué Tille 2017-02-27 08:11:16 +01:00
parent 3ba30c0377
commit 352fbc6817
4 changed files with 7 additions and 6 deletions

View file

@ -1,6 +1,8 @@
Riot For yunohost
==================
Yunohost chattroom with matrix : [https://riot.im/app/#/room/#yunohost:matrix.org](https://riot.im/app/#/room/#yunohost:matrix.org)
[Yunohost project](https://yunohost.org/#/)
It's a webclient for matrix. For a matrix server you can install synapse on your server : https://github.com/YunoHost-Apps/synapse_ynh

View file

@ -16,7 +16,7 @@
upgrade=1
backup_restore=0
multi_instance=1
wrong_user=1
wrong_user=0
wrong_path=1
incorrect_path=1
corrupt_source=1

View file

@ -65,10 +65,6 @@ CHECK_PATH () { # Vérifie la présence du / en début de path. Et son absence
fi
}
CHECK_DOMAINPATH () { # Vérifie la disponibilité du path et du domaine.
sudo yunohost app checkurl $domain$path -a $app
}
CHECK_FINALPATH () { # Vérifie que le dossier de destination n'est pas déjà utilisé.
final_path=/var/www/$app
if [ -e "$final_path" ]

View file

@ -13,9 +13,12 @@ is_public=$YNH_APP_ARG_IS_PUBLIC
default_home_server=$YNH_APP_ARG_DEFAULT_HOME_SERVER
CHECK_PATH # Vérifie et corrige la syntaxe du path.
CHECK_DOMAINPATH # Vérifie la disponibilité du path et du domaine.
CHECK_FINALPATH # Vérifie que le dossier de destination n'est pas déjà utilisé.
# Check domain/path availability
sudo yunohost app checkurl "${domain}${path}" -a "$app" \
|| ynh_die "Path not available: ${domain}${path}"
# Enregistre les infos dans la config YunoHost
ynh_app_setting_set $app domain $domain
ynh_app_setting_set $app path $path