1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shaarli_ynh.git synced 2024-09-03 20:26:10 +02:00

Temp dir remove in upgrade

This commit is contained in:
anmol26s 2018-06-25 10:01:49 +05:30
parent bad691f563
commit 6aa9e5efff

View file

@ -78,6 +78,7 @@ ynh_secure_remove "$final_path"
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source "$final_path" ynh_setup_source "$final_path"
sudo cp -a "$tmpdir/data" "${final_path}/data" sudo cp -a "$tmpdir/data" "${final_path}/data"
sudo rm -Rf "$tmpdir"
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION