fallback to alternative way of getting chrome version if needed

This commit is contained in:
Nick Sweeting 2023-12-17 22:11:13 -08:00
parent 25a505f668
commit 5881a64353

View file

@ -203,7 +203,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=apt-$TARGETARCH$T
&& chown -R $ARCHIVEBOX_USER "$PLAYWRIGHT_BROWSERS_PATH" \ && chown -R $ARCHIVEBOX_USER "$PLAYWRIGHT_BROWSERS_PATH" \
# Save version info # Save version info
&& ( \ && ( \
which chromium-browser && /usr/bin/chromium-browser --version \ which chromium-browser && /usr/bin/chromium-browser --version || /usr/lib/chromium/chromium --version \
&& echo -e '\n\n' \ && echo -e '\n\n' \
) | tee -a /VERSION.txt ) | tee -a /VERSION.txt