1
0
Fork 0
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:
rodinux 2023-12-28 17:12:55 +01:00
parent 15682502a6
commit 693e23b577

View file

@ -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