mirror of
https://github.com/YunoHost-Apps/bookstack_ynh.git
synced 2024-09-03 18:16:02 +02:00
Update upgrade
This commit is contained in:
parent
98a13bd85a
commit
0baa637450
1 changed files with 3 additions and 0 deletions
|
@ -61,6 +61,9 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||||
|
|
||||||
|
# Create a temporary directory
|
||||||
|
tmpdir="$(mktemp -d)"
|
||||||
|
|
||||||
cp -a "$final_path/.env " "$tmpdir/.env "
|
cp -a "$final_path/.env " "$tmpdir/.env "
|
||||||
cp -a "$final_path/public/uploads" "$tmpdir/public/uploads"
|
cp -a "$final_path/public/uploads" "$tmpdir/public/uploads"
|
||||||
cp -a "$final_path/storage/uploads" "$tmpdir/storage/uploads"
|
cp -a "$final_path/storage/uploads" "$tmpdir/storage/uploads"
|
||||||
|
|
Loading…
Add table
Reference in a new issue