From a10d77fe4f348ecad1304435cbcd5bd344a304df Mon Sep 17 00:00:00 2001 From: nemsia Date: Sun, 28 May 2017 17:20:32 +0200 Subject: [PATCH] [fix] Duplicate nodejs 6 upgrade --- scripts/upgrade | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 2a9b0fe..529c124 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -40,14 +40,6 @@ sudo systemctl stop mastodon-*.service # Change owner of live folder sudo chown -R $app: $final_path/live -# upgrade Node.js v4 to v6 -node_version=$(nodejs --version) -if [[ $node_version =~ ^v4.*$ ]]; then - pushd /opt - curl -sL https://deb.nodesource.com/setup_6.x | sudo bash - - sudo apt-get -y install nodejs -fi - # Download Mastodon sudo su - $app <