mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +02:00
syntax upgrade
This commit is contained in:
parent
cd9a763b37
commit
f75c7571ff
1 changed files with 1 additions and 4 deletions
|
@ -30,7 +30,7 @@ if [ -z "${secret_key:-}" ]; then
|
|||
fi
|
||||
|
||||
if [ -z "${smtp_host:-}" ]; then
|
||||
user_conf = "$data_dir/data/config.local.user.php"
|
||||
user_conf="$data_dir/data/config.local.user.php"
|
||||
if [ -f $user_conf ]; then
|
||||
smtp_host=$(ynh_read_var_in_file --file=$user_conf --key=SMTP_HOST)
|
||||
else
|
||||
|
@ -155,8 +155,6 @@ if [ ! -f "$data_dir/data/config.local.user.php" ]; then
|
|||
chown $app:$app "$data_dir/data/config.local.user.php"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
if [ ! -d "$data_dir/data/local_addresses" ]; then
|
||||
ynh_script_progression --message="Adding a configuration directory..." --weight=5
|
||||
mkdir "$data_dir/data/local_addresses"
|
||||
|
@ -167,7 +165,6 @@ else
|
|||
chown $app:www-data "$data_dir/data/local_addresses"
|
||||
fi
|
||||
|
||||
|
||||
if [ -f "$install_dir/data/association.sqlite" ]; then
|
||||
ynh_script_progression --message="Moving db files..." --weight=5
|
||||
mv $install_dir/data/association.* $data_dir/data/
|
||||
|
|
Loading…
Add table
Reference in a new issue