diff options
Diffstat (limited to 'apt/apt.conf.d/99-local-set-preferred-x-session-manager')
-rwxr-xr-x | apt/apt.conf.d/99-local-set-preferred-x-session-manager | 6 |
1 files changed, 6 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";}; +}; |