From e53082b137b5ec22a51491acd840c8909e2b4058 Mon Sep 17 00:00:00 2001 From: Moul Date: Fri, 14 Oct 2016 14:50:13 +0200 Subject: [PATCH] [mod] #26: do not display logs of debian package install and sync process. --- scripts/functions.sh | 2 +- scripts/install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/functions.sh b/scripts/functions.sh index 49ac6d0..6de4a7f 100644 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -8,7 +8,7 @@ version=$(echo $url | cut -d/ -f8) # Retrieve debian package and install it wget -nc --quiet $url -P /tmp deb="/tmp/duniter-server-$version-linux-$arch.deb" -sudo dpkg -i $deb +sudo dpkg -i $deb > /dev/null sudo rm -f $deb } diff --git a/scripts/install b/scripts/install index d993ea9..8bb9433 100755 --- a/scripts/install +++ b/scripts/install @@ -68,7 +68,7 @@ sudo $app config --remoteh $domain --port $port --remotep $port --salt $salt --p # Synchronize Duniter node echo "Synchronizing with $sync_node:$sync_port. It may take a while." -sudo $app sync $sync_node $sync_port --nointeractive +sudo $app sync $sync_node $sync_port --nointeractive > /dev/null # Launch Duniter node sudo $app webstart