From 53c44b145a270904e7dbca5cc831c36a4648b815 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Thu, 16 Aug 2018 22:56:33 +0200 Subject: [PATCH] Do not activate Bazaar Bazaar requires some actions on the database that can only be triggered from the web interface. Maybe one day we may have a API route to activate extensions from the command line. --- scripts/_common.sh | 1 - scripts/install | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index cf6b544..7f49fb9 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -138,4 +138,3 @@ $(yunohost tools diagnosis | grep -B 100 "services:" | sed '/services:/d')" # Send the email to the recipients echo "$mail_message" | $mail_bin -a "Content-Type: text/plain; charset=UTF-8" -s "$mail_subject" "$recipients" } - diff --git a/scripts/install b/scripts/install index ee2be03..8e90e3b 100644 --- a/scripts/install +++ b/scripts/install @@ -227,7 +227,7 @@ if [[ -n $admin && -n $title ]]; then esac if [[ $bazaar_extension ]]; then - install_and_activate_extension $app $final_path $db_name "flagrow/bazaar" "flagrow-bazaar" + exec_composer $app $final_path "require flagrow/bazaar --ansi" fi # Send login credentials to admin