Add PPA repository for Firefox as default (#6528)

This commit is contained in:
Alexey-Ayupov
2022-11-26 13:47:48 +01:00
committed by GitHub
parent 439d09333d
commit 5dd62e7a08
5 changed files with 18 additions and 11 deletions

View File

@@ -7,8 +7,18 @@
# Source the helpers for use with the script
source $HELPER_SCRIPTS/install.sh
FIREFOX_REPO="ppa:mozillateam/ppa"
# Install Firefox
apt-get install -y firefox
add-apt-repository $FIREFOX_REPO -y
apt-get update
apt-get install --target-release 'o=LP-PPA-mozillateam' -y firefox
# Remove source repo's
add-apt-repository --remove $FIREFOX_REPO
# Document apt source repo's
echo "mozillateam $FIREFOX_REPO" >> $HELPER_SCRIPTS/apt-sources.txt
# add to gloabl system preferences for firefox locale en_US, because other browsers have en_US local.
# Default firefox local is en_GB