summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-03-15 22:41:45 (EDT)
committer P. J. McDermott <pj@pehjota.net>2016-03-15 22:41:45 (EDT)
commitb4ce686b26feac74b22603bd1f3498a04e37fd2b (patch)
tree72a34029348dc8ff503d1bc1b8b7fcefb6757ab3
parent5ac1737d0413a4190b926bac1c23a47e0b6d8ec6 (diff)
downloadpc-inst-b4ce686b26feac74b22603bd1f3498a04e37fd2b.zip
pc-inst-b4ce686b26feac74b22603bd1f3498a04e37fd2b.tar.gz
pc-inst-b4ce686b26feac74b22603bd1f3498a04e37fd2b.tar.bz2
Remove files installed from /etc/skel/
-rw-r--r--hosts/alsvid2002
1 files changed, 2 insertions, 0 deletions
diff --git a/hosts/alsvid200 b/hosts/alsvid200
index 88af379..7e233fb 100644
--- a/hosts/alsvid200
+++ b/hosts/alsvid200
@@ -196,6 +196,8 @@ do_postinst()
in_target chmod 0600 '/home/pj/.ssh/known_hosts'
# Bootstrap vcsh and mr.
+ rm -f "${target}/home/pj/.profile" "${target}/home/pj/.bashrc" \
+ "${target}/home/pj/.bash_logout"
in_target sudo -u pj vcsh clone \
ssh://git@git.pehjota.net/dotfiles/mr.git mr || return 1
in_target sudo -u pj mr update || return 1