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

Add hook to upgrade

This commit is contained in:
Krakinou 2019-05-22 12:05:43 +02:00
parent f917b66af1
commit de1370da04

View file

@ -82,7 +82,7 @@ path_url=$(ynh_normalize_url_path $path_url)
#=================================================
#check for matlink's version - deprecated - uninstall & reinstall
#check for matlink's version - DEPRECATED - uninstall & reinstall
#=================================================
#deprecated - not maintained for more than a year...
#cat /etc/yunohost/apps/$app/status.json | grep "matlink"
@ -176,6 +176,10 @@ if [ ! -e $final_path/lang/it_IT ]; then
ln -s $final_path/lang/it $final_path/lang/it_IT
fi
#setting postfix to use virtual aliases file
# Add postfix configuration hook and regen postfix conf
cp -R ../sources/hooks/conf_regen/98-postfix_emailpoubelle /usr/share/yunohost/hooks/conf_regen/
yunohost service regen-conf postfix
#=================================================
# SECURE FILES AND DIRECTORIES