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:
parent
1132af7029
commit
13db48b0fa
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue