From d4f21f52089476dbd6aa9f7b922d69d3e0faa8e1 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sun, 14 Aug 2022 21:01:33 +0200 Subject: [PATCH] Added chmod configuration function --- sos-git.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sos-git.sh b/sos-git.sh index cd934b2..a99605e 100755 --- a/sos-git.sh +++ b/sos-git.sh @@ -291,8 +291,13 @@ function checkFastSettings() { fi fi } +function chmodConfiguration() { + chmod +x "$HOME/.sostools/git/sos-git.conf" "$HOME/.sostools/git/sos-git.conf.d/*.conf" &> /dev/null + chmod +x "/etc/sostools/git/sos-git.conf" "/etc/sostools/git/sos-git.conf.d/*.conf" &> /dev/null +} loadDefaultConfiguration checkFastSettings +chmodConfiguration loadSystemConfiguration loadUserConfiguration doSystemSetup