diff --git a/system_files/desktop/shared/usr/share/ublue-os/just/60-custom.just b/system_files/desktop/shared/usr/share/ublue-os/just/60-custom.just index 07b7ef49..801bd389 100644 --- a/system_files/desktop/shared/usr/share/ublue-os/just/60-custom.just +++ b/system_files/desktop/shared/usr/share/ublue-os/just/60-custom.just @@ -72,7 +72,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."