1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ghost_ynh.git synced 2024-09-03 19:16:02 +02:00

Fix tmpdir error in upgrade script

This commit is contained in:
anmol26s 2018-07-24 00:32:51 +05:30
parent 8a6f891415
commit 2c66727718

View file

@ -76,8 +76,8 @@ path_url=$(ynh_normalize_url_path $path_url)
# Create a temporary directory # Create a temporary directory
tmpdir="$(mktemp -d)" tmpdir="$(mktemp -d)"
# Backup the content folder to the temp dir # Backup the content folder to the temp dir
cp -ar "$final_path/ghost/content" "$tmpdir" cp -ar "$final_path/content" "$tmpdir"
sudo rm -R "$tmpdir/ghost.zip" sudo rm -R "$tmpdir"
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
tmpdir1="$(mktemp -d)" tmpdir1="$(mktemp -d)"