From: Christian Heller Date: Sat, 30 May 2015 01:47:34 +0000 (+0200) Subject: postinstall script: Don't set up editor before user is created. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/calendar_export?a=commitdiff_plain;h=97a974700e76f9fa4febaa94a881e1f988585711;p=config postinstall script: Don't set up editor before user is created. --- diff --git a/jessie_start.sh b/jessie_start.sh index 1241dfd..1ecf23b 100755 --- a/jessie_start.sh +++ b/jessie_start.sh @@ -30,11 +30,6 @@ apt-get -y dist-upgrade # Set up manuals. apt-get -y install man-db manpages less -# Set up editor. -apt-get -y install vim -mkdir -p .vimbackups -su plom -c 'mkdir -p /home/plom/.vimbackups/' - # Power management as per . echo '' >> /etc/apt/sources.list echo 'deb http://repo.linrunner.de/debian jessie main' >> /etc/apt/sources.list @@ -72,6 +67,11 @@ 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 editor. +apt-get -y install vim +mkdir -p .vimbackups +su plom -c 'mkdir -p /home/plom/.vimbackups/' + # Set up sound. usermod -G audio plom apt-get -y install alsa-utils