From 8d9a419a27005d2d09048d994ee195bedafc4611 Mon Sep 17 00:00:00 2001 From: anmol Date: Sun, 14 Apr 2019 20:42:38 +0530 Subject: [PATCH] Fix source zip url --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index f27be8f..20f5853 100644 --- a/scripts/install +++ b/scripts/install @@ -100,7 +100,7 @@ ynh_mysql_setup_db $db_name $db_name 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" +sudo wget -O "$tmpdir/ghost.zip" "https://github.com/TryGhost/Ghost/archive/master.zip" unzip "$tmpdir/ghost.zip" -d "$final_path" sudo rm -R "$tmpdir/ghost.zip" #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 153d8a3..b8b1cd6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -82,7 +82,7 @@ if [ -z $final_path ]; then ynh_app_setting_set $app final_path $final_path fi 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" sudo rm -R "$tmpdir1/ghost.zip"