mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-04-17 11:43:41 +00:00
chore: Use valve script in hwsupport
This commit is contained in:
parent
05b81a6b37
commit
e06eef7e0d
@ -1,11 +1,10 @@
|
|||||||
--- a/usr/bin/jupiter-check-support
|
--- a/usr/bin/jupiter-check-support
|
||||||
+++ b/usr/bin/jupiter-check-support
|
+++ b/usr/bin/jupiter-check-support
|
||||||
@@ -2,6 +2,12 @@
|
@@ -2,6 +2,11 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
+SYS_ID="$(/usr/libexec/hwsupport/sysid)"
|
+if ! /usr/libexec/hwsupport/valve-hardware; then
|
||||||
+if [[ ! ":Galileo:Jupiter:" =~ ":$SYS_ID:" ]]; then
|
|
||||||
+ echo "Supported: yes"
|
+ echo "Supported: yes"
|
||||||
+ exit 0
|
+ exit 0
|
||||||
+fi
|
+fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user