Added chmod configuration function

This commit is contained in:
JeremyStarTM 2022-08-14 21:01:33 +02:00
parent 7f14d23913
commit d4f21f5208

View file

@ -291,8 +291,13 @@ function checkFastSettings() {
fi fi
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 loadDefaultConfiguration
checkFastSettings checkFastSettings
chmodConfiguration
loadSystemConfiguration loadSystemConfiguration
loadUserConfiguration loadUserConfiguration
doSystemSetup doSystemSetup