update
This commit is contained in:
19
isobuild/config/hooks/normal/0060-install-chrome.hook.chroot
Executable file
19
isobuild/config/hooks/normal/0060-install-chrome.hook.chroot
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
# Install Chromium browser (from Ubuntu repos - more reliable than downloading Chrome)
|
||||
|
||||
set -e
|
||||
|
||||
echo "Installing Chromium browser..."
|
||||
|
||||
# Install Chromium from Ubuntu repos
|
||||
apt-get update
|
||||
apt-get install -y chromium-browser
|
||||
|
||||
# Create symlink so scripts expecting google-chrome-stable work
|
||||
ln -sf /usr/bin/chromium-browser /usr/bin/google-chrome-stable
|
||||
|
||||
# Clean up
|
||||
apt-get clean
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
echo "Chromium browser installed."
|
||||
Reference in New Issue
Block a user