From 97a37161fd3eb8501d828f7957c0b3b14ee33224 Mon Sep 17 00:00:00 2001 From: Andreas Loibl Date: Thu, 7 Feb 2013 09:21:24 +0100 Subject: hotfixer.sh new vim.rc lightdm --- config/chroot_local-hooks/hotfixes.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/config/chroot_local-hooks/hotfixes.sh b/config/chroot_local-hooks/hotfixes.sh index 1c8f5b5..d30d0ff 100755 --- a/config/chroot_local-hooks/hotfixes.sh +++ b/config/chroot_local-hooks/hotfixes.sh @@ -13,16 +13,15 @@ fi # vim tuning if [ -d /etc/vim ]; then rm -f /etc/vim/vimrc.local -cat < /etc/vim/vimrc.local -syntax on -set background=dark -set showmatch " Show matching brackets. +wget -O /etc/vim/vimrc.local https://raw.github.com/amix/vimrc/master/vimrcs/basic.vim +cat <> /etc/vim/vimrc.local + set pastetoggle= EOT fi # fix kdm/gdm/xdm/wdm startup -for x in kdm gdm xdm wdm; do +for x in kdm gdm xdm wdm lightdm; do if [ -x /etc/init.d/$x ]; then update-rc.d -f $x remove update-rc.d $x start 99 5 . stop 01 0 1 2 3 4 6 . -- cgit v1.0