From 763d406faeeb27781a5d931d64fa9bd4546c75cd Mon Sep 17 00:00:00 2001 From: Amo Date: Tue, 25 May 2021 10:06:34 +0530 Subject: [PATCH] Not show the stdout warnings --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 4c3ba34..1aee2a1 100644 --- a/scripts/install +++ b/scripts/install @@ -142,7 +142,7 @@ ynh_store_file_checksum --file="$final_path/config/local.config.php" # Run composer pushd "$final_path" - php$phpversion bin/composer.phar install + php$phpversion bin/composer.phar install 2> /dav/null bin/console config system addon ldapauth popd ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_name" <<< "INSERT INTO addon (id, name, version, installed, hidden, timestamp, plugin_admin) VALUES (NULL, 'ldapauth', '', '1', '0', UNIX_TIMESTAMP(), '0');" diff --git a/scripts/upgrade b/scripts/upgrade index 25c925e..6b197bc 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -196,7 +196,7 @@ cp "../conf/poller-cron" "/etc/cron.d/$app" # Run composer pushd "$final_path" - php$phpversion bin/console dbstructure update + php$phpversion bin/console dbstructure update 2> /dev/null bin/console config system addon ldapauth popd