From 5268f67a09b180ed73cabc91094a90287f904030 Mon Sep 17 00:00:00 2001 From: nemsia Date: Mon, 22 May 2017 00:19:25 +0200 Subject: [PATCH] Revert "install on 1.4" This reverts commit aa15007ecc32f8404a5e4fbcc5488ed489e35839. --- scripts/install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 <