home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Further extend post-install script.
[config]
/
jessie_start.sh
diff --git
a/jessie_start.sh
b/jessie_start.sh
index fbb2d33c856fd29d75d27fe186c930e6c98fe487..e2a8960a6a8769482e104d783ba8749196249a08 100755
(executable)
--- a/
jessie_start.sh
+++ b/
jessie_start.sh
@@
-1,5
+1,6
@@
#!/bin/sh
set -x
#!/bin/sh
set -x
+set -e
# Post-installation reduction. (Answer "no" to GRUB question.)
dpkg-query -Wf '${Package} ${Priority}\n' | grep ' required' | sed 's/ required//' > list_white_unsorted
# Post-installation reduction. (Answer "no" to GRUB question.)
dpkg-query -Wf '${Package} ${Priority}\n' | grep ' required' | sed 's/ required//' > list_white_unsorted
@@
-40,13
+41,29
@@
echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen
locale-gen
echo 'export LC_ALL="en_US.UTF-8"' >> /etc/profile
locale-gen
echo 'export LC_ALL="en_US.UTF-8"' >> /etc/profile
-#apt-get -y install xserver-xorg xinit i3
+# Clone git repository.
+apt-get -y install ca-certificates
+apt-get -y install git
+git clone http://github.com/plomlompom/config
+config/symlink.sh
-# Install certificates.
-#apt-get -y install ca-certificates
+# Add user. Remove old user's config/ if it exists.
+useradd -m -s /bin/bash plom
+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.
# Set up window system.
-#apt-get -y install xserver-xorg xinit i3 i3status
+apt-get -y install xserver-xorg xinit xterm i3 i3status dmenu
-# Add user.
-#useradd -m -s /bin/bash plom
+# Set up manuals.
+apt-get -y install man-db manpages less
+
+# Set up editor.
+apt-get -y install vim
+
+# Clean up.
+rm jessie_start.sh
+
+# Set password for user.
+passwd plom