mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-25 21:41:02 +00:00
fix: Properly handle asus-nvidia images in enable-supergfxctl
This commit is contained in:
parent
9fef0bd938
commit
813d428814
@ -90,7 +90,7 @@ enable-supergfxctl:
|
||||
#!/usr/bin/env bash
|
||||
IMAGE_INFO="/usr/share/ublue-os/image-info.json"
|
||||
IMAGE_FLAVOR=$(jq -r '."image-flavor"' < $IMAGE_INFO)
|
||||
if [[ ${IMAGE_FLAVOR} == 'nvidia' ]]; then
|
||||
if [[ "$IMAGE_FLAVOR" =~ "nvidia" ]]; then
|
||||
systemctl enable --now supergfxd.service
|
||||
else
|
||||
echo "This requires an Nvidia image."
|
||||
|
Loading…
x
Reference in New Issue
Block a user