diff options
author | Jonas Smedegaard <dr@jones.dk> | 2005-06-10 08:25:10 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2005-06-10 08:25:10 +0000 |
commit | 12c44ae869d5e6a6484889dbb8e3a341192d12e6 (patch) | |
tree | 02f70a30ca4cd79e1b4b4baa67219ae8ecc43480 /apt/apt.conf.d/99-local-set-preferred-x-www-browser | |
parent | 2eb947aa6f432f8c0bb4c7219dd9282fd9a05716 (diff) |
Improve comments and add x-www-browser default.
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";}; +}; |