From 12c44ae869d5e6a6484889dbb8e3a341192d12e6 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 10 Jun 2005 08:25:10 +0000 Subject: Improve comments and add x-www-browser default. --- apt/apt.conf.d/99-local-set-preferred-x-www-browser | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 apt/apt.conf.d/99-local-set-preferred-x-www-browser (limited to 'apt/apt.conf.d/99-local-set-preferred-x-www-browser') 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";}; +}; -- cgit v1.2.3