1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-28 21:32:36 +01:00

fix: drop stale variable

This commit is contained in:
aclist 2023-01-20 02:05:45 +09:00
parent 333a86b90b
commit 54bafa778e

View file

@ -1783,7 +1783,7 @@ update_steam_cmd(){
awk -v "var=$new_cmd" -v "nr=$nr" 'NR==nr {$0=var}{print}' ${config_path}dztuirc.old > ${config_path}dztuirc
}
steam_deps(){
local flatpak steam new_cmd
local flatpak steam
flatpak=$(flatpak list | grep valvesoftware.Steam)
steam=$(command -v steam)
if [[ -z "$steam" ]] && [[ -z "$flatpak" ]]; then