1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paheko_ynh.git synced 2024-09-03 19:56:22 +02:00

force the upgrade of config.local.user.php with mail

This commit is contained in:
rodinux 2024-04-06 13:22:54 +02:00
parent 1132af7029
commit 13db48b0fa

View file

@ -121,6 +121,11 @@ if [ ! -f "$data_dir/data/config.local.user.php" ]; then
ynh_add_config --template="config.local.user.php" --destination="$data_dir/data/config.local.user.php"
chmod 640 "$data_dir/data/config.local.user.php"
chown $app:$app "$data_dir/data/config.local.user.php"
elif
ynh_script_progression --message="Adding a configuration file..." --weight=5
ynh_add_config --template="config.local.user.php" --destination="$data_dir/data/config.local.user.php"
chmod 640 "$data_dir/data/config.local.user.php"
chown $app:$app "$data_dir/data/config.local.user.php"
fi
if [ -f "$install_dir/data/association.sqlite" ]; then