From d5009a41a7441d53f27f99fe471cf10900039a43 Mon Sep 17 00:00:00 2001 From: nemsia Date: Fri, 26 May 2017 21:18:22 +0200 Subject: [PATCH] Revert "Upgrade and install from 1.4" This reverts commit f87651dc4d9083334ecc22cefbb9d7d477ae305d. --- scripts/install | 4 +++- scripts/upgrade | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index ebe4569..1634c52 100644 --- a/scripts/install +++ b/scripts/install @@ -95,9 +95,11 @@ 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) sudo su - $app <