Latest
This commit is contained in:
parent
2e70a1068f
commit
dd99ddb479
3 changed files with 3 additions and 1 deletions
|
@ -893,7 +893,9 @@ macOSSettings() {
|
||||||
makeLocalBinExecutable() {
|
makeLocalBinExecutable() {
|
||||||
logg info 'Ensuring all files in ~/.local/bin are executable'
|
logg info 'Ensuring all files in ~/.local/bin are executable'
|
||||||
find "$HOME/.local/bin" -mindepth 1 -maxdepth 2 -type f | while read EXE_FILE; do
|
find "$HOME/.local/bin" -mindepth 1 -maxdepth 2 -type f | while read EXE_FILE; do
|
||||||
chmod +x "$EXE_FILE"
|
if [ "$(echo -n "$EXE_FILE" | tail -c 3)" != ".md" ]; then
|
||||||
|
chmod +x "$EXE_FILE"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue