From 68c8ff350cca32eceed753b85804408eaad9282a Mon Sep 17 00:00:00 2001 From: zotan Date: Sun, 11 Feb 2018 18:05:40 +0100 Subject: [PATCH] fix permissions on /home/user/ after dotfiles extraction --- setup-solus.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup-solus.sh b/setup-solus.sh index 2aef334..d6919d1 100644 --- a/setup-solus.sh +++ b/setup-solus.sh @@ -57,6 +57,8 @@ if [[ $? -ne 0 ]]; then curl -fsSL https://gist.githubusercontent.com/anonymous/c2a9e0ea86b5fb9c7971182f461e33e4/raw/567a15b8491cb9106c53835c731e583d3b12d7b5/gistfile1.txt >> /home/$SUDO_USER/.zshrc fi +chown $SUDO_USER:$SUDO_USER /home/$SUDO_USER -R + cat /home/$SUDO_USER/.zshrc | grep "alias gst=" -q if [[ $? -ne 0 ]]; then printf "\n" >> /home/$SUDO_USER/.zshrc