From b273f780b177f99490f937e688c0d9d9c457e2c5 Mon Sep 17 00:00:00 2001 From: frju365 Date: Sun, 29 Jan 2017 23:20:19 +0100 Subject: [PATCH] Update install --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index d47588a..fa617bd 100644 --- a/scripts/install +++ b/scripts/install @@ -20,7 +20,7 @@ sudo yunohost app checkurl "${domain}${path}" -a "$app" \ # Install dependency to convert tracks to a readable format for the browser sudo apt-get update sudo apt-get -y -qq install redis-server php5-redis nodejs-legacy nodejs npm - +check_or_install_npm # Remove trailing "/" for next commands if [[ ! "$path" == "/" ]]; then path=${path%/} @@ -48,6 +48,7 @@ cd $final_path sudo npm install sudo service start redis-server sudo yunohost firewall allow Both 85 +pre_inst_scrumblr sudo service scrumblr start sudo systemctl start "$app".service