diff options
| author | nemsia <nemsia@nemsia.org> | 2017-10-11 21:43:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-11 21:43:29 +0200 |
| commit | 1b737b0c6423b734a9e50e5d13e9b4586478067e (patch) | |
| tree | fb384fa26811fd61343e5ed9f21b6a466f797dbb /scripts/install | |
| parent | c687c563053e435032a23548bee3d46dc463bb40 (diff) | |
| download | mastodon_ynh-1b737b0c6423b734a9e50e5d13e9b4586478067e.tar.gz mastodon_ynh-1b737b0c6423b734a9e50e5d13e9b4586478067e.tar.bz2 mastodon_ynh-1b737b0c6423b734a9e50e5d13e9b4586478067e.zip | |
Update install
Diffstat (limited to 'scripts/install')
| -rw-r--r-- | scripts/install | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/install b/scripts/install index cb4adb5..217ca34 100644 --- a/scripts/install +++ b/scripts/install @@ -102,9 +102,10 @@ CLONECOMMANDS # Switch branch to tagged release cd $final_path/live +version=$(curl -s https://api.github.com/repos/tootsuite/mastodon/releases/latest | grep tag_name | cut -d\" -f4) sudo su - $app <<SWITCHCOMMANDS pushd ~/live -git checkout $(git tag -l | sort -V | tail -n 1) +git checkout $version SWITCHCOMMANDS # Be king rewind (/var/cache/yunohost/from_file/scripts) |
