diff --git a/debian-64/build.sh b/debian-64/build.sh index 6084d13d6..125078b62 100755 --- a/debian-64/build.sh +++ b/debian-64/build.sh @@ -85,8 +85,8 @@ dconf-editor evince f2fs-tools ffmpegthumbnailer -firefox-esr -firefox-esr-l10n-all +#firefox-esr +#firefox-esr-l10n-all fonts-cantarell fonts-liberation gdebi @@ -97,7 +97,6 @@ gnome-calculator gnome-chess gnome-disk-utility gnome-mahjongg -gnome-packagekit gnome-software gnome-software-plugin-flatpak gnome-software-plugin-snap diff --git a/hooks/normal/0910-install-firefox.hook.chroot b/hooks/normal/0910-install-firefox.hook.chroot new file mode 100755 index 000000000..ad1160a45 --- /dev/null +++ b/hooks/normal/0910-install-firefox.hook.chroot @@ -0,0 +1,36 @@ +#!/bin/bash + +################################################################################ +# install-firefox-official.sh -- Revision: 1.0 by Manuel Rosa (manuelsilvarosa@gmail.com) +# (GNU/General Public License version 3.0) +# This script installs Firefox on Debian using the official repository. +################################################################################ + +# Script functions +function add_mozilla_repository() { + echo "deb http://mirrors.mozilla.org/firefox/ppa/stable focal main" | sudo tee /etc/apt/sources.list.d/firefox-ppa.list +} + +function import_mozilla_gpg_key() { + sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9577B98D +} + +function update_apt_cache() { + sudo apt-get update +} + +function install_firefox() { + sudo apt-get install firefox +} + +function main() { + add_mozilla_repository + import_mozilla_gpg_key + update_apt_cache + install_firefox +} + +# Script execution +main + +echo "Firefox has been installed successfully."