mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +02:00
directive added when upgrading from 1.2.8 to correct moving db files
This commit is contained in:
parent
15682502a6
commit
693e23b577
1 changed files with 1 additions and 2 deletions
|
@ -98,7 +98,6 @@ if [ ! -d "$data_dir/data" ]; then
|
|||
chown $app:www-data "$data_dir/data"
|
||||
fi
|
||||
|
||||
|
||||
if [ ! -f "$data_dir/data/config.local.user.php" ]; then
|
||||
ynh_script_progression --message="Adding a configuration file..." --weight=5
|
||||
|
||||
|
@ -108,7 +107,7 @@ if [ ! -f "$data_dir/data/config.local.user.php" ]; then
|
|||
fi
|
||||
|
||||
if [ -f "$install_dir/data/association.sqlite" ]; then
|
||||
mv "$install_dir/data/association*" "$data_dir/data/"
|
||||
mv "$install_dir/data/*.sqlite" "$data_dir/data/"
|
||||
ynh_secure_remove "$install_dir/data/association.*"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue