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
@@ -2,5 +2,5 @@
|
||||
|
||||
# Detect whether the computer is a Framework Laptop 16.
|
||||
|
||||
[[ "$(cat /sys/class/dmi/id/sys_vendor 2>/dev/null)" == "Framework" ]] &&
|
||||
[[ $(cat /sys/class/dmi/id/sys_vendor 2>/dev/null) == "Framework" ]] &&
|
||||
grep -q "Laptop 16" /sys/class/dmi/id/product_name 2>/dev/null
|
||||
Reference in new issue
Block a user