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"