mirror of
https://github.com/YunoHost-Apps/firefly-iii_ynh.git
synced 2024-09-03 18:36:13 +02:00
Add upload folder if it don't exists while upgrade
This commit is contained in:
parent
615ca52d46
commit
8426d7fdc4
1 changed files with 3 additions and 1 deletions
|
@ -114,7 +114,9 @@ then
|
|||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$final_path"
|
||||
ynh_secure_remove bootstrap/cache/*
|
||||
# Restore the config file
|
||||
# Restore the config file and data
|
||||
mkdir -p "$final_path/storage/upload/"
|
||||
mkdir -p "$final_path/storage/export/"
|
||||
cp -a "$tmpdir/storage/upload/*" "$final_path/storage/upload/."
|
||||
cp -a "$tmpdir/storage/export/*" "$final_path/storage/export/."
|
||||
cp -a "$tmpdir/.env" "$final_path/.env"
|
||||
|
|
Loading…
Add table
Reference in a new issue