1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/friendica_ynh.git synced 2024-09-03 18:36:14 +02:00

Fix stupid upgrade issue because destination dir doesn't exists

This commit is contained in:
Alexandre Aubin 2021-07-13 14:14:00 +02:00 committed by GitHub
parent 07fecdacbe
commit 8fd2eef57b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -115,6 +115,7 @@ else
# Create a temporary directory and backup smarty3 folder
tmpdir="$(ynh_smart_mktemp 6000)"
ynh_script_progression --message="Upgrading source files..."
mkdir -p "$tmpdir/view/"
cp -a "$final_path/view/smarty3" "$tmpdir/view/smarty3"
# Remove the app directory securely