mirror of
https://github.com/YunoHost-Apps/ghost_ynh.git
synced 2024-09-03 19:16:02 +02:00
Fix download direct sources
This commit is contained in:
parent
3cd265be45
commit
8d3ed7a483
2 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ ynh_app_setting_set $app final_path $final_path
|
|||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
tmpdir="$(mktemp -d)"
|
||||
sudo wget -O "$tmpdir/ghost.zip" "https://ghost.org/zip/ghost-latest.zip"
|
||||
unzip "$tmpdir/ghost.zip" -d "$final_path/."
|
||||
unzip "$tmpdir/ghost.zip" -d "$final_path"
|
||||
sudo rm -R "$tmpdir/ghost.zip"
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
|
|
|
@ -82,7 +82,7 @@ sudo rm -R "$tmpdir/ghost.zip"
|
|||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
tmpdir1="$(mktemp -d)"
|
||||
sudo wget -O "$tmpdir1/ghost.zip" "https://ghost.org/zip/ghost-latest.zip"
|
||||
unzip "$tmpdir1/ghost.zip" -d "$final_path/."
|
||||
unzip "$tmpdir1/ghost.zip" -d "$final_path"
|
||||
sudo rm -R "$tmpdir1/ghost.zip"
|
||||
|
||||
# copy content folder back to the final_path
|
||||
|
|
Loading…
Add table
Reference in a new issue