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:
parent
d1bb59c6dd
commit
01179601d3
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue