From 0346377a764f235b05a13d8a03ffb43650cbf0a2 Mon Sep 17 00:00:00 2001 From: olli Date: Mon, 5 Dec 2022 11:35:01 +0100 Subject: [PATCH] Execute and chown .xsessionrc if exists --- mint.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mint.sh b/mint.sh index 5fc2001..1d2aff8 100644 --- a/mint.sh +++ b/mint.sh @@ -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