Skip to content

Commit

Permalink
Update chromedriver.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
raczeja authored Nov 28, 2024
1 parent f734482 commit 900efa5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions chromedriver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
# This is a symlink; version-suffixed binaries live alongside it.
destlink=${HOME}/local/bin/chromedriver

# Install jq if not installed
if ! command -v jq &> /dev/null; then
echo "jq not found, installing..."
sudo apt-get update
sudo apt-get install -y jq
fi

# The destination can be overridden via the command line.
if [ $# -ge 1 ]; then
if [ "$1" = '-h' ]; then
Expand Down

0 comments on commit 900efa5

Please sign in to comment.