From e7ed942684dd6b2cb0be509878048a85d8642f8d Mon Sep 17 00:00:00 2001 From: nemsia Date: Sun, 30 Apr 2017 14:04:25 +0200 Subject: [PATCH 1/2] [enh] Switch to tagged release --- scripts/install | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index f5522df..3357c1d 100644 --- a/scripts/install +++ b/scripts/install @@ -85,13 +85,17 @@ sudo su -c "psql" postgres <<< \ ynh_psql_create_db_without_password "$app" sudo systemctl restart postgresql -# Download all Ruby source +# Download all sources rbenv, ruby and mastodon sudo su - $app < Date: Sun, 30 Apr 2017 14:24:02 +0200 Subject: [PATCH 2/2] [enh] Switch to tagged release on upgrade --- scripts/upgrade | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 07b3ee7..ab4bf58 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -37,12 +37,20 @@ sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf # Stop Mastodon Services sudo systemctl stop mastodon-*.service -# Update Mastodon -sudo su - $app <