Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Commit 2f8c470

Browse files
authored
Updated chromedriver path to ensure correct symlink creation (#19175)
The latest versions of the chromium-browser package now install by default to /usr/lib/chromium-browser, not /usr/lib/chromium. By updating the locations where /usr/lib/chromium is used to the new path, the symlink for the chromedriver is properly created.
1 parent 256e9d5 commit 2f8c470

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install-dev-dependencies.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ if type apt-get>/dev/null 2>&1; then
5252
$SUDO_SHIM chown root /usr/bin/geckodriver
5353
$SUDO_SHIM chmod 755 /usr/bin/geckodriver
5454
fi
55-
if [ ! -f /usr/lib/chromium/chromedriver ] && [ -f `which chromedriver` ]; then
56-
$SUDO_SHIM ln -s `which chromedriver` /usr/lib/chromium/chromedriver
55+
if [ ! -f /usr/lib/chromium-browser/chromedriver ] && [ -f `which chromedriver` ]; then
56+
$SUDO_SHIM ln -s `which chromedriver` /usr/lib/chromium-browser/chromedriver
5757
fi
5858

5959
# macOS installation

0 commit comments

Comments
 (0)