[fix] grep -q doesn't give output to parse, so remove the flag

This commit is contained in:
William Wernert
2021-02-23 13:43:10 -05:00
parent 25698dafe3
commit 61a23509a1

View File

@@ -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"