Use consistent bash5 style for conditionals and quoting
This commit is contained in:
1 parent
d2acf3b6ba
commit
7514ae7dcf
113 files changed
+289
-287
No files matched your search
@@ -17,7 +17,7 @@ while IFS= read -r -d '' file; do
|
||||
fi
|
||||
done < <(find "$APP_DIR" -maxdepth 1 -name "*.desktop" -print0 2>/dev/null)
|
||||
|
||||
if [[ ${#webapp_desktop_files[@]} -eq 0 ]]; then
|
||||
if (( ${#webapp_desktop_files[@]} == 0 )); then
|
||||
echo "No web apps found."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user