mirror of
https://github.com/YunoHost-Apps/snappymail_ynh.git
synced 2024-09-03 20:26:29 +02:00
commit
501259ffd0
5 changed files with 12 additions and 12 deletions
|
@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
Simple, modern, lightweight & fast web-based email client. The drastically upgraded & secured fork of RainLoop Webmail Community edition.
|
||||
|
||||
|
||||
**Shipped version:** 2.29.1~ynh2
|
||||
**Shipped version:** 2.29.1~ynh3
|
||||
|
||||
**Demo:** https://snappymail.eu/demo/
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
|
|||
|
||||
Client de messagerie Web simple, moderne, léger et rapide. Snappymail est un fork considérablement amélioré et sécurisé de l'édition RainLoop Webmail Community.
|
||||
|
||||
**Version incluse :** 2.29.1~ynh2
|
||||
**Version incluse :** 2.29.1~ynh3
|
||||
|
||||
**Démo :** https://snappymail.eu/demo/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ name = "SnappyMail"
|
|||
description.en = "Simple, modern, lightweight & fast web-based e-mail client"
|
||||
description.fr = "Client de messagerie Web simple, moderne, léger et rapide"
|
||||
|
||||
version = "2.29.1~ynh2"
|
||||
version = "2.29.1~ynh3"
|
||||
|
||||
maintainers = ["eric_G"]
|
||||
|
||||
|
|
|
@ -9,6 +9,13 @@
|
|||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
# MODIFY URL IN NGINX CONF
|
||||
#=================================================
|
||||
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1
|
||||
|
||||
ynh_change_url_nginx_config
|
||||
|
||||
#=================================================
|
||||
# UPDATE A CONFIG FILE
|
||||
#=================================================
|
||||
|
@ -24,14 +31,7 @@ chown $app:$app "$install_dir/app/data/_data_/_default_/configs/application.ini"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Applying SSO patch..." --weight=1
|
||||
|
||||
ynh_add_config --template="../conf/sso.php" --destination="$install_dir/index.php"
|
||||
|
||||
#=================================================
|
||||
# MODIFY URL IN NGINX CONF
|
||||
#=================================================
|
||||
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1
|
||||
|
||||
ynh_change_url_nginx_config
|
||||
ynh_add_config --template="sso.php" --destination="$install_dir/index.php"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
|
@ -62,7 +62,7 @@ chown $app:$app -R "$install_dir/app/data/_data_"
|
|||
|
||||
ynh_add_config --template="application.ini" --destination="$install_dir/app/data/_data_/_default_/configs/application.ini"
|
||||
|
||||
chmod 400 "$install_dir/app/data/_data_/_default_/configs/application.ini"
|
||||
chmod 600 "$install_dir/app/data/_data_/_default_/configs/application.ini"
|
||||
chown $app:$app "$install_dir/app/data/_data_/_default_/configs/application.ini"
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue