1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/funkwhale_ynh.git synced 2024-09-03 18:36:24 +02:00

Improve upgrade compat

This commit is contained in:
Jean-Baptiste Holcroft 2019-01-23 21:50:05 +01:00
parent 9c6ee6e951
commit fa3a32da4a

View file

@ -38,7 +38,7 @@ fi
# make sure we have the last code organization
if [ ! -d "$final_path/code/" ]; then
mkdir "$final_path/code"
mv "$final_path/!(code)" "$final_path/code/"
mv "$final_path"/!(code) "$final_path/code/"
mv "$final_path/code/data/media" "$final_path/media"
mv "$final_path/code/data/music" "$final_path/import"
ynh_app_setting_set "$app" code_migration 1