From cc1dd9e92ccb9b157000436e6deff47610d07a71 Mon Sep 17 00:00:00 2001 From: louie Date: Fri, 27 Aug 2021 07:16:49 -0700 Subject: Fixed bug for first time install --- update_ungoogled_chromium.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_ungoogled_chromium.sh b/update_ungoogled_chromium.sh index 2b369eb..6d3d10a 100755 --- a/update_ungoogled_chromium.sh +++ b/update_ungoogled_chromium.sh @@ -117,7 +117,7 @@ VERSION=$(echo "$FULL_INFO" | head -n 1 | cut -d ':' -f 2 | sed 's/^[ ]*//g' | g URL=$(echo "$FULL_INFO" | sed -n "2p") # Handle if LINK is in PATH by getting the absolute path with which -if [ ! -e "$LINK" ]; then +if [ ! -e "$LINK" ] && [ ! -e $(which "$LINK") ]; then LINK=$(which "$LINK") fi -- cgit