Fixed ls not working issue

This commit is contained in:
JeremyStarTM 2022-08-14 21:22:32 +02:00
parent 060c93c1d6
commit efff7f1bea

View file

@ -293,11 +293,11 @@ function checkFastSettings() {
}
function chmodConfiguration() {
chmod +x "$HOME/.sostools/git/sos-git.conf" &> /dev/null
for file in $(ls --color=never -w 1 "$HOME/.sostools/git/sos-git.conf.d/*.conf"); do
for file in $(ls --color=never -w 1 "$HOME/.sostools/git/sos-git.conf.d"); do
chmod +x "$HOME/.sostools/git/sos-git.conf.d/$file"
done
chmod +x "/etc/sostools/git/sos-git.conf" &> /dev/null
for file in $(ls --color=never -w 1 "/etc/sostools/git/sos-git.conf.d/*.conf"); do
for file in $(ls --color=never -w 1 "/etc/sostools/git/sos-git.conf.d"); do
chmod +x "/etc/sostools/git/sos-git.conf.d/$file"
done
}