From: Christian Heller Date: Fri, 11 Dec 2015 02:14:41 +0000 (+0100) Subject: Remove unneeded bashrcs. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/cards/%7B%7Bcard_id%7D%7D/foo.html?a=commitdiff_plain;h=2276e38654df99b38ea562f1b01a436df81ee19b;p=config Remove unneeded bashrcs. --- diff --git a/jessie_start_server.sh b/jessie_start_server.sh index a0a8e90..2e9e19e 100755 --- a/jessie_start_server.sh +++ b/jessie_start_server.sh @@ -5,6 +5,9 @@ set -e # Set root pw. passwd +# Remove unused .bashrc. +rm ~/.bashrc + # Post-installation reduction. dpkg-query -Wf '${Package} ${Priority}\n' | grep ' required' | sed 's/ required//' > list_white_unsorted echo 'ifupdown' >> list_white_unsorted @@ -73,6 +76,7 @@ config/symlink.sh # Add user. Remove old user's config/ if it exists. useradd -m -s /bin/bash plom +rm /home/plom/.bashrc 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 server'