diff options
Diffstat (limited to 'apt/apt.conf.d/99-local-set-preferred-x-www-browser')
-rwxr-xr-x | apt/apt.conf.d/99-local-set-preferred-x-www-browser | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apt/apt.conf.d/99-local-set-preferred-x-www-browser b/apt/apt.conf.d/99-local-set-preferred-x-www-browser new file mode 100755 index 0000000..8cc71c0 --- /dev/null +++ b/apt/apt.conf.d/99-local-set-preferred-x-www-browser @@ -0,0 +1,6 @@ +// We prefer mozilla-firefox over other alternatives (goddammit!) + +DPkg +{ +Post-Invoke {"if [ -x /usr/sbin/update-alternatives ] && [ -x /usr/bin/mozilla-firefox ]; then /usr/sbin/update-alternatives --set x-www-browser /usr/bin/mozilla-firefox; else exit 0; fi";}; +}; |