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

remove ssowat regen / min 3.5.2

This commit is contained in:
Krakinou 2019-05-20 10:21:06 +02:00
parent 3587b9db87
commit a1f14daf2f
5 changed files with 7 additions and 8 deletions

View file

@ -37,13 +37,13 @@ sudo yunohost app upgrade emailpoubelle -u https://github.com/Yunohost-Apps/emai
## TODO :
- [X] check nginx conf
- [ ] insert cron in conf
- [X] insert cron in conf
- [ ] insert symlink for langages in /lang
- [ ] remove new locale on remove
- [ ] Test it ! (and check if that doesn't interfer with postfix and its aliases)
- [X] cron job to remove redirections (`0 */2 * * * /usr/bin/wget -q -t 1 -T 7200 -O /dev/null 'https://domain/poubelle/index.php?act=cron' >/dev/null 2>&1)
- [ ] conflict with SSOWAT + non-public app
- [ ] package_check integration
- [X] package_check integration
- [ ] Multiinstance
- [ ] LDAP

View file

@ -14,7 +14,7 @@
"email": "misterl56@hotmail.com"
},
"requirements": {
"yunohost": ">= 3.0.0"
"yunohost": ">= 3.5.2"
},
"multi_instance": false,
"services": [

View file

@ -56,11 +56,12 @@ ynh_app_setting_set $app final_path $final_path
#=================================================
ynh_print_info "Installing dependencies"
ynh_install_app_dependencies $pkg_dependencies
sleep 1s
#install locale (nginx will restart at the end of the install)
for i in $lang ; do
ynh_replace_string "# $i" "$i" /etc/locale.gen
done
sleep 1s
locale-gen
#=================================================
@ -151,5 +152,4 @@ fi
systemctl reload nginx
systemctl reload postfix
service php* reload
yunohost app ssowatconf

View file

@ -89,4 +89,4 @@ ynh_secure_remove "/usr/share/yunohost/hooks/conf_regen/98-postfix_emailpoubelle
yunohost service regen-conf postfix
service nginx reload
yunohost app ssowatconf

View file

@ -126,4 +126,3 @@ chown -R www-data:www-data $final_path
systemctl restart php7.0-fpm
systemctl reload nginx
systemctl reload postfix
yunohost app ssowatconf