1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/snappymail_ynh.git synced 2024-09-03 20:26:29 +02:00

Merge pull request #125 from YunoHost-Apps/testing

Testing
This commit is contained in:
eric_G 2023-10-31 21:18:23 +01:00 committed by GitHub
commit 501259ffd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 12 deletions

View file

@ -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/

View file

@ -18,7 +18,7 @@ Si vous navez 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/

View file

@ -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"]

View file

@ -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

View file

@ -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"
#=================================================