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 corret move db files

This commit is contained in:
rodinux 2023-12-28 16:38:43 +01:00
parent d1bb59c6dd
commit 01179601d3

View file

@ -98,6 +98,10 @@ if [ ! -d "$data_dir/data" ]; then
chown $app:www-data "$data_dir/data"
fi
if [ ! -f "$install_dir/data/association.sqlite" ]; then
mv "$install_dir/data/association.*" "$data_dir/data/"
fi
if [ ! -f "$data_dir/data/config.local.user.php" ]; then
ynh_script_progression --message="Adding a configuration file..." --weight=5