mail backups were getting in a loop, i think this fixes
[distro-setup] / disabled / new-firefox
1 #!/bin/bash
2
3 # not caring enough about having a new firefox at the moment, so
4 # disabled.
5
6 # this was just under the comment "basic needed packages" in
7 # distro-begin.
8
9 case $(distro-name) in
10 debian)
11 if has_x; then
12 if isdebian-stable; then
13 pi firefox/$codename-backports
14 else
15 # for a while, firefox/unstable did not have
16 # dependencies satisfied by testing packages, and i hit
17 # a conflict, it wanted a newer libfontconfig1, but
18 # emacs build-deps wanted an older one. In this case,
19 # I switch to using firefox-esr. note: They seem
20 # to release a new esr version every 9 months or so.
21 pi firefox/unstable
22 s dd of=/etc/apt/preferences.d/firefox <<'EOF'
23 Package: firefox
24 Pin: release a=unstable
25 Pin-Priority: 500
26 EOF
27 fi
28 fi
29 # # no hosts have nonfree firmware anymore, yay. but leaving commented,
30 # # as i might run into one for a little while still.
31 # p=firmware-linux-nonfree
32 # if apt-cache show $p &>/dev/null; then
33 # pi $p
34 # fi
35 ;;&
36 trisquel|ubuntu)
37 if has_x; then
38 pi abrowser
39 fi
40 ;;
41 esac