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
8e5ea9d430
commit
7a6df40c43
1 file changed
+2
-2
+2
-2
@@ -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."
|
||||
|
||||
Reference in new issue
Block a user