Permissions on profile

This commit is contained in:
Bob Mottram 2017-07-15 17:33:02 +01:00
parent d551818ff0
commit a6c6841a13
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ function support_256_colours {
if ! grep 'xterm-256color' /home/$MY_USERNAME/.profile; then if ! grep 'xterm-256color' /home/$MY_USERNAME/.profile; then
echo '' >> /home/$MY_USERNAME/.profile echo '' >> /home/$MY_USERNAME/.profile
echo 'export TERM=xterm-256color' >> /home/$MY_USERNAME/.profile echo 'export TERM=xterm-256color' >> /home/$MY_USERNAME/.profile
chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.profile
fi fi
} }