Skip to content

Commit

Permalink
remove extra ppa repo for firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
brettaufheber committed Jan 6, 2024
1 parent 40f373e commit 78d5583
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ubuntu-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,6 @@ function task_manage_package_sources {
# declare local variables
local TRUSTED_GPG
local SOURCES_LIST
local PREFERENCES
local COMPONENTS

# verify preconditions
Expand All @@ -373,7 +372,6 @@ function task_manage_package_sources {
# set variables
TRUSTED_GPG='/etc/apt/trusted.gpg.d'
SOURCES_LIST='/etc/apt/sources.list.d'
PREFERENCES='/etc/apt/preferences.d'
COMPONENTS='main universe multiverse restricted'

# by default, use the whole Ubuntu mirror list
Expand Down Expand Up @@ -402,12 +400,6 @@ function task_manage_package_sources {
chmod 644 "$TRUSTED_GPG/google-chrome.gpg"
echo 'deb https://dl.google.com/linux/chrome/deb/ stable main' >"$SOURCES_LIST/google-chrome.list"

# add package sources for firefox
add-apt-repository -y ppa:mozillateam/ppa
echo 'Package: *' >"$PREFERENCES/mozilla-firefox"
echo 'Pin: release o=LP-PPA-mozillateam' >>"$PREFERENCES/mozilla-firefox"
echo 'Pin-Priority: 601' >>"$PREFERENCES/mozilla-firefox"

# update package lists
apt-get update
}
Expand Down

0 comments on commit 78d5583

Please sign in to comment.