File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
echo " Removing distribution provided chromium packages and dependencies..."
3
+ apt purge chromium* chromium-browser* -y -qq && apt autoremove -y -qq
3
4
sudo apt purge chromium* chromium-browser* -y -qq && apt autoremove -y -qq
4
5
echo " Enabling PPA support..."
5
6
[ ! -f .parrot ] && apt update -qq; apt install software-properties-common gnupg --no-install-recommends -y -qq
6
7
echo " Adding chromium-team stable ppa"
7
- sudo add-apt-repository ppa:ultrahacx/chromium-universal -y
8
+ echo " deb http://ppa.launchpad.net/ultrahacx/chromium-universal/ubuntu bionic main
9
+ deb-src http://ppa.launchpad.net/ultrahacx/chromium-universal/ubuntu bionic main " >> /etc/apt/sources.list
10
+ echo " Fetching and importing chromium-team GPG keys..."
11
+ apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 8FEA526CE21182D1
12
+ echo " Installing chromium-browser"
8
13
apt update -qq; apt install chromium-browser --no-install-recommends -y
9
14
echo " Patching application shortcuts..."
10
15
sed -i ' s/chromium-browser %U/chromium-browser --no-sandbox %U/g' /usr/share/applications/chromium-browser.desktop
11
- echo ' alias chromium="chromium-browser --no-sandbox" >> /etc/profile'
12
- echo " You can now start chromium by using the application icon or by typing chromium" && . /etc/profile
You can’t perform that action at this time.
0 commit comments