From 6e9bf97d33d72875a399c7219c5f63928bd89126 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Thu, 14 May 2015 05:40:02 +0200 Subject: [PATCH] Further improve post-install script. --- jessie_start.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/jessie_start.sh b/jessie_start.sh index 7404460..6a655d9 100755 --- a/jessie_start.sh +++ b/jessie_start.sh @@ -47,14 +47,17 @@ apt-get -y install git git clone http://github.com/plomlompom/config config/symlink.sh -# Add user. +# Add user. Remove old user's config/ if it exists. useradd -m -s /bin/bash plom -cp -R config /home/plom/ -chown -R plom /home/plom/config +rm -rf /home/plom/config +su - plom -c 'git clone http://github.com/plomlompom/config /home/plom/config' su plom -c /home/plom/config/symlink.sh # Set up window system. -apt-get -y install xserver-xorg xinit i3 i3status +apt-get -y install xserver-xorg xinit xterm i3 i3status + +# Set up manuals. +apt-get -y install man-db manpages less # Clean up. rm jessie_start.sh -- 2.30.2