From a4c7d615ab99b73d0def8aa05e2b2a20516b1c01 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Mon, 28 Oct 2019 17:56:19 +0100 Subject: [PATCH] Fix small errors in install script --- install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install b/install index a65e36c..a0222bf 100755 --- a/install +++ b/install @@ -650,10 +650,10 @@ wo_init() { apt-get -y install curl -qq >/dev/null 2>&1 fi if ! command_exists lsb_release; then - apt-get install lsb-release -qq + apt-get install lsb-release -qq > /dev/null 2>&1 fi if ! command_exists jq; then - apt-get install jq -qq + apt-get install jq -qq > /dev/null 2>&1 fi fi if [ "$wo_force_install" = "y" ]; then @@ -662,11 +662,11 @@ wo_init() { if [ -f ./setup.py ]; then readonly wo_version_new=$(grep "version='" setup.py | awk -F "'" '{print $2}' 2>&1) else - readonly wo_version_new=$(curl -m 5 --retry 3 -sL https://api.github.com/repos/WordOps/WordOps/releases/latest | jq -r '.tag_name' 2>&1) + readonly wo_version_new=$(curl -m 5 --retry 3 -sL https://api.github.com/repos/WordOps/WordOps/releases/latest 2>&1 | jq -r '.tag_name' ) fi echo "" - wo_lib_echo "Welcome to WordOps install/update script v${wo_version_new}" + wo_lib_echo "Welcome to WordOps install/update script ${wo_version_new}" echo "" }