mirror of
https://github.com/YunoHost-Apps/koel_ynh.git
synced 2024-09-03 19:35:54 +02:00
Restore multimedia directories
This commit is contained in:
parent
02b0847e8e
commit
9be967bab8
1 changed files with 9 additions and 0 deletions
|
@ -28,6 +28,15 @@ ynh_restore_file --origin_path="$data_dir" --not_mandatory
|
||||||
|
|
||||||
chown -R $app:www-data "$data_dir"
|
chown -R $app:www-data "$data_dir"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# RESTORING MULTIMEDIA DIRECTORIES
|
||||||
|
#================================================
|
||||||
|
ynh_script_progression --message="Restoring multimedia directories..." --weight=1
|
||||||
|
|
||||||
|
ynh_multimedia_build_main_dir
|
||||||
|
ynh_multimedia_addfolder --source_dir="$data_dir" --dest_dir="$app"
|
||||||
|
ynh_multimedia_addaccess $app
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE THE MYSQL DATABASE
|
# RESTORE THE MYSQL DATABASE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue