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:
parent
8a6f891415
commit
2c66727718
1 changed files with 2 additions and 2 deletions
|
@ -76,8 +76,8 @@ path_url=$(ynh_normalize_url_path $path_url)
|
|||
# Create a temporary directory
|
||||
tmpdir="$(mktemp -d)"
|
||||
# Backup the content folder to the temp dir
|
||||
cp -ar "$final_path/ghost/content" "$tmpdir"
|
||||
sudo rm -R "$tmpdir/ghost.zip"
|
||||
cp -ar "$final_path/content" "$tmpdir"
|
||||
sudo rm -R "$tmpdir"
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
tmpdir1="$(mktemp -d)"
|
||||
|
|
Loading…
Add table
Reference in a new issue