Execute and chown .xsessionrc if exists

This commit is contained in:
olli 2022-12-05 11:35:01 +01:00
parent 67fdd68fb3
commit 0346377a76

View File

@ -47,6 +47,14 @@ do
sudo rm -rf ${playbook}
done
# Execute and chown .xsessionrc if exists
if [ -f ~/.xsessionrc ]
then
sudo chown $(whoami). ~/.xsessionrc
sudo chmod 700 ~/.xsessionrc
fi
# Add User to docker group
sudo usermod -aG docker $(whoami)
# Autoupdate flatpak and cinnamon