Rename the Color singleton to avoid the Qt 6.12 clash
This commit is contained in:
1 parent
97854006b5
commit
d92290c06c
93 files changed
+342
-342
No files matched your search
@@ -8,21 +8,21 @@ make_scripts_executable() {
|
||||
|
||||
while IFS= read -r script; do
|
||||
not_executable+=("$script")
|
||||
done < <(find "$repo_dir/bin" -maxdepth 1 -type f ! -perm -u+x | sort)
|
||||
done < <({ find "$repo_dir/bin" -maxdepth 1 -type f ! -perm -u+x; find "$repo_dir/shell" -type f -name '*.sh' ! -perm -u+x; } | sort)
|
||||
|
||||
if (( ${#not_executable[@]} == 0 )); then
|
||||
say "ok bin/ scripts executable"
|
||||
say "ok bin/ and shell/ scripts executable"
|
||||
return 0
|
||||
fi
|
||||
|
||||
note_change
|
||||
if [[ $check == true ]]; then
|
||||
say "would make ${#not_executable[@]} script(s) in bin/ executable"
|
||||
say "would make ${#not_executable[@]} script(s) in bin/ and shell/ executable"
|
||||
return 0
|
||||
fi
|
||||
|
||||
chmod +x "${not_executable[@]}"
|
||||
say "chmod ${#not_executable[@]} script(s) in bin/"
|
||||
say "chmod ${#not_executable[@]} script(s) in bin/ and shell/"
|
||||
}
|
||||
|
||||
bar_has_widget() {
|
||||
|
||||
Reference in new issue
Block a user