mirror of
https://github.com/YunoHost-Apps/firefly-iii_ynh.git
synced 2024-09-03 18:36:13 +02:00
Fixed upgrade and restore
This commit is contained in:
parent
61bca38712
commit
2266f4771c
2 changed files with 4 additions and 4 deletions
|
@ -92,8 +92,8 @@ chown -R $app: $final_path
|
|||
# RESTORE THE PHP-FPM CONFIGURATION
|
||||
#=================================================
|
||||
|
||||
ynh_restore_file "/etc/php/7.1/pool.d/$app.conf"
|
||||
ynh_restore_file "/etc/php/7.1/conf.d/20-$app.ini"
|
||||
ynh_restore_file "/etc/php/7.1/fpm/pool.d/$app.conf"
|
||||
ynh_restore_file "/etc/php/7.1/fpm/pool.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC UPGRADE
|
||||
|
|
|
@ -77,8 +77,8 @@ mkdir -p "$tmpdir/storage/export"
|
|||
mkdir -p "$final_path/storage/upload/"
|
||||
mkdir -p "$final_path/storage/export/"
|
||||
cp -a "$final_path/.env" "$tmpdir/.env"
|
||||
cp -a "$final_path/storage/upload/*" "$tmpdir/storage/upload/"
|
||||
cp -a "$final_path/storage/export/*" "$tmpdir/storage/export/"
|
||||
cp -a "$final_path/storage/upload/*" "$tmpdir/storage/upload/*"
|
||||
cp -a "$final_path/storage/export/*" "$tmpdir/storage/export/*"
|
||||
|
||||
# Remove the app directory securely
|
||||
ynh_secure_remove "$final_path"
|
||||
|
|
Loading…
Add table
Reference in a new issue