From 8b96e2d8a986e847500c88139e11d69c08258849 Mon Sep 17 00:00:00 2001 From: Rick Peters Date: Thu, 1 Oct 2026 21:43:21 +0200 Subject: [PATCH] fix: shellcheck of the bundle: nvidia_enable's local args clashed with an array of another module (renamed unit_args) --- lib/nvidia.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/nvidia.sh b/lib/nvidia.sh index e624e2b..bb8ecc1 100644 --- a/lib/nvidia.sh +++ b/lib/nvidia.sh @@ -57,8 +57,8 @@ nvidia_enable() { state_set nvidia installed_pkgs steam fi # Keeps what the Big Picture option set up; a first run starts Steam normally. - local args=""; bigpicture_status && args=-gamepadui - nvidia_write_unit "$args" || return 1 + local unit_args=""; bigpicture_status && unit_args=-gamepadui + nvidia_write_unit "$unit_args" || return 1 user_systemctl enable "$NVIDIA_UNIT" >/dev/null 2>&1 || { err "Enabling $NVIDIA_UNIT failed."; return 1; } nvidia_kernel_enable || return 1 ok "Steam starts at your next login."