1
0
Fork 0
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:
ericgaspar 2021-11-23 23:27:21 +01:00
parent 98a13bd85a
commit 0baa637450
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -61,6 +61,9 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then
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/public/uploads" "$tmpdir/public/uploads"
cp -a "$final_path/storage/uploads" "$tmpdir/storage/uploads"