From 61a23509a1e0b74941b563e5faa4d9b0cabde6e6 Mon Sep 17 00:00:00 2001 From: William Wernert Date: Tue, 23 Feb 2021 13:43:10 -0500 Subject: [PATCH] [fix] grep -q doesn't give output to parse, so remove the flag --- setup/so-preflight | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/so-preflight b/setup/so-preflight index c2bbb7988..05ff75826 100644 --- a/setup/so-preflight +++ b/setup/so-preflight @@ -54,7 +54,7 @@ check_new_repos() { ) else local ubuntu_version - ubuntu_version=$(grep -q VERSION_ID /etc/os-release 2> /dev/null | awk -F '[ "]' '{print $2}') + ubuntu_version=$(grep VERSION_ID /etc/os-release 2> /dev/null | awk -F '[ "]' '{print $2}') if [ "$OSVER" != "xenial" ]; then local py_ver_url_path="/py3"; else local py_ver_url_path="/apt"; fi local repo_arr=( "https://download.docker.com/linux/ubuntu/gpg"