diff options
author | Jonas Smedegaard <dr@jones.dk> | 2005-01-09 17:38:12 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2005-01-09 17:38:12 +0000 |
commit | 00137be413f79f18c41980dcabd1ae70d7d68576 (patch) | |
tree | 8889f293ef8e4b372bfa85b8143d5ea9402eef47 | |
parent | ab0c470f6acd47b87f8b1d4560c65b5ac1bea207 (diff) |
Some not-yet-narrowed-down packages reset locally selected alternatives.
-rwxr-xr-x | apt/apt.conf.d/99-local-set-preferred-x-session-manager | 6 | ||||
-rwxr-xr-x | apt/apt.conf.d/99-local-set-preferred-x-terminal-emulator | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/apt/apt.conf.d/99-local-set-preferred-x-session-manager b/apt/apt.conf.d/99-local-set-preferred-x-session-manager new file mode 100755 index 0000000..1af9f2b --- /dev/null +++ b/apt/apt.conf.d/99-local-set-preferred-x-session-manager @@ -0,0 +1,6 @@ +// Force keep my preferred alternatives (goddammit!) + +DPkg +{ +Post-Invoke {"if [ -x /usr/sbin/update-alternatives ] && [ -x /usr/bin/gnome-session ]; then /usr/sbin/update-alternatives --set x-session-manager /usr/bin/gnome-session; else exit 0; fi";}; +}; diff --git a/apt/apt.conf.d/99-local-set-preferred-x-terminal-emulator b/apt/apt.conf.d/99-local-set-preferred-x-terminal-emulator new file mode 100755 index 0000000..411160c --- /dev/null +++ b/apt/apt.conf.d/99-local-set-preferred-x-terminal-emulator @@ -0,0 +1,6 @@ +// Force keep my preferred alternatives (goddammit!) + +DPkg +{ +Post-Invoke {"if [ -x /usr/sbin/update-alternatives ] && [ -x /usr/bin/rxvt-xterm ]; then /usr/sbin/update-alternatives --set x-terminal-emulator /usr/bin/rxvt-xterm; else exit 0; fi";}; +}; |