mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-03 17:41:58 +02:00
fix: shellcheck of the bundle: nvidia_enable's local args clashed with an array of another module (renamed unit_args)
This commit is contained in:
1 parent
f1fb18ec81
commit
8b96e2d8a9
1 file changed
+2
-2
+2
-2
@@ -57,8 +57,8 @@ nvidia_enable() {
|
|||||||
state_set nvidia installed_pkgs steam
|
state_set nvidia installed_pkgs steam
|
||||||
fi
|
fi
|
||||||
# Keeps what the Big Picture option set up; a first run starts Steam normally.
|
# Keeps what the Big Picture option set up; a first run starts Steam normally.
|
||||||
local args=""; bigpicture_status && args=-gamepadui
|
local unit_args=""; bigpicture_status && unit_args=-gamepadui
|
||||||
nvidia_write_unit "$args" || return 1
|
nvidia_write_unit "$unit_args" || return 1
|
||||||
user_systemctl enable "$NVIDIA_UNIT" >/dev/null 2>&1 || { err "Enabling $NVIDIA_UNIT failed."; return 1; }
|
user_systemctl enable "$NVIDIA_UNIT" >/dev/null 2>&1 || { err "Enabling $NVIDIA_UNIT failed."; return 1; }
|
||||||
nvidia_kernel_enable || return 1
|
nvidia_kernel_enable || return 1
|
||||||
ok "Steam starts at your next login."
|
ok "Steam starts at your next login."
|
||||||
|
|||||||
Reference in new issue
Block a user