mirror of
https://github.com/aclist/dztui.git
synced 2024-12-29 13:52:03 +01:00
fix: drop stale variable
This commit is contained in:
parent
333a86b90b
commit
54bafa778e
1 changed files with 1 additions and 1 deletions
2
dzgui.sh
2
dzgui.sh
|
@ -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
|
awk -v "var=$new_cmd" -v "nr=$nr" 'NR==nr {$0=var}{print}' ${config_path}dztuirc.old > ${config_path}dztuirc
|
||||||
}
|
}
|
||||||
steam_deps(){
|
steam_deps(){
|
||||||
local flatpak steam new_cmd
|
local flatpak steam
|
||||||
flatpak=$(flatpak list | grep valvesoftware.Steam)
|
flatpak=$(flatpak list | grep valvesoftware.Steam)
|
||||||
steam=$(command -v steam)
|
steam=$(command -v steam)
|
||||||
if [[ -z "$steam" ]] && [[ -z "$flatpak" ]]; then
|
if [[ -z "$steam" ]] && [[ -z "$flatpak" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue