Skip to content

Commit

Permalink
Firefox Rapid Release: skip adding mozilla PPA on PiOS Bookworm
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialgman committed Oct 12, 2023
1 parent 391c642 commit 055c33e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions apps/Firefox Rapid Release/install
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,14 @@ Pin-Priority: -1' | sudo tee /etc/apt/preferences.d/firefox >/dev/null
# also allow unattented upgrades to upgrade from this ppa if unattented upgrades is enabled
case $__os_codename in
bookworm)
# remove old ppa if present
sudo rm -f /etc/apt/sources.list.d/mozillateam-ubuntu-ppa-bionic.list
debian_ppa_installer "mozillateam/ppa" "jammy" "0AB215679C571D1C8325275B9BDB3D89CE49EC21" || exit 1
echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-mozillateam:jammy";' | sudo tee /etc/apt/apt.conf.d/51unattended-upgrades-firefox >/dev/null
if [ -f /etc/rpi-issue ]; then
status "PiOS Bookworm supports the latest HW Accelerated Firefox out of the box. Skipping adding Mozilla PPA"
else
# remove old ppa if present
sudo rm -f /etc/apt/sources.list.d/mozillateam-ubuntu-ppa-bionic.list
debian_ppa_installer "mozillateam/ppa" "jammy" "0AB215679C571D1C8325275B9BDB3D89CE49EC21" || exit 1
echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-mozillateam:jammy";' | sudo tee /etc/apt/apt.conf.d/51unattended-upgrades-firefox >/dev/null
fi
;;
bullseye)
# remove old ppa if present
Expand Down

0 comments on commit 055c33e

Please sign in to comment.