From 7b5077419be7e5cc5f682fac3b80d23f565e6296 Mon Sep 17 00:00:00 2001 From: nemsia Date: Mon, 29 May 2017 21:24:43 +0200 Subject: [PATCH] [fix] upgrade and install 1.4.1 (#40) --- scripts/install | 5 ++--- scripts/upgrade | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index e747241..a4faed3 100644 --- a/scripts/install +++ b/scripts/install @@ -95,11 +95,10 @@ CLONECOMMANDS # Switch branch to tagged release cd $final_path/live -url=$(curl -s https://api.github.com/repos/tootsuite/mastodon/releases/latest | sort -r | head -1 | cut -d\" -f4) -version=$(echo $url | cut -d/ -f8) +version=$(curl -s https://api.github.com/repos/tootsuite/mastodon/releases/latest | grep tag_name | cut -d\" -f4) sudo su - $app <