mirror of
https://github.com/YunoHost-Apps/ghost_ynh.git
synced 2024-09-03 19:16:02 +02:00
Fix source zip url
This commit is contained in:
parent
b4e7cf8ded
commit
8d9a419a27
2 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ ynh_mysql_setup_db $db_name $db_name
|
||||||
ynh_app_setting_set $app final_path $final_path
|
ynh_app_setting_set $app final_path $final_path
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
tmpdir="$(mktemp -d)"
|
tmpdir="$(mktemp -d)"
|
||||||
sudo wget -O "$tmpdir/ghost.zip" "https://ghost.org/zip/ghost-latest.zip"
|
sudo wget -O "$tmpdir/ghost.zip" "https://github.com/TryGhost/Ghost/archive/master.zip"
|
||||||
unzip "$tmpdir/ghost.zip" -d "$final_path"
|
unzip "$tmpdir/ghost.zip" -d "$final_path"
|
||||||
sudo rm -R "$tmpdir/ghost.zip"
|
sudo rm -R "$tmpdir/ghost.zip"
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -82,7 +82,7 @@ if [ -z $final_path ]; then
|
||||||
ynh_app_setting_set $app final_path $final_path
|
ynh_app_setting_set $app final_path $final_path
|
||||||
fi
|
fi
|
||||||
tmpdir1="$(mktemp -d)"
|
tmpdir1="$(mktemp -d)"
|
||||||
sudo wget -O "$tmpdir1/ghost.zip" "https://ghost.org/zip/ghost-latest.zip"
|
sudo wget -O "$tmpdir1/ghost.zip" "https://github.com/TryGhost/Ghost/archive/master.zip"
|
||||||
unzip "$tmpdir1/ghost.zip" -d "$final_path"
|
unzip "$tmpdir1/ghost.zip" -d "$final_path"
|
||||||
sudo rm -R "$tmpdir1/ghost.zip"
|
sudo rm -R "$tmpdir1/ghost.zip"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue