Add debug printf to display the running script

This commit is contained in:
Jeremy Gardais 2019-10-13 20:32:20 +02:00
parent 156b2ff454
commit 8216c105e5
3 changed files with 6 additions and 0 deletions

View File

@ -90,6 +90,8 @@ fi
# }}}
[ "${debug}" -eq "0" ] && printf '\e[1;35m%-6s\e[m\n' "DEBUG: Run save game script for Homedir."
# Manage save game from homedir {{{
## Set "%" as field separator
IFS="%"

View File

@ -157,6 +157,8 @@ done
# }}}
[ "${debug}" -eq "0" ] && printf '\e[1;35m%-6s\e[m\n' "DEBUG: Run save game script for Steam."
# Manage Steam userdata save game {{{
for game_id in ${steam_userdata_games}; do
local_game_path="${HOME}/${steam_userdata}/${game_id}"

View File

@ -135,6 +135,8 @@ done
# }}}
[ "${debug}" -eq "0" ] && printf '\e[1;35m%-6s\e[m\n' "DEBUG: Run save game script for XDG."
# Manage XDG config save game {{{
## Set "%" as field separator
IFS="%"