From 984603149262ba11a30dc2a173ede33db8decdd8 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Mon, 5 Oct 2015 08:14:57 -0700 Subject: [PATCH] Silence chrome installed query. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 51229d9..2125bc1 100755 --- a/install.sh +++ b/install.sh @@ -182,7 +182,7 @@ function install_apt_pkgs { function install_chrome { local TMPD=`mktemp -d` local CHROME_ARCH=`echo ${ARCH} | sed 's/x86_64/amd64/'` - dpkg-query -l 'google-chrome*' && return 0 + dpkg-query -l 'google-chrome*' >/dev/null 2>&1 && return 0 /usr/bin/wget --quiet -O ${TMPD}/google-chrome.deb \ https://dl.google.com/linux/direct/google-chrome-beta_current_${CHROME_ARCH}.deb run_as_root /usr/bin/dpkg -i ${TMPD}/google-chrome.deb || \