From f1f03b60dc7408306936c484d89e4bdb8e61e0ef Mon Sep 17 00:00:00 2001 From: XargonWan Date: Sat, 17 Sep 2022 17:03:25 +0200 Subject: [PATCH] GLOBAL.SH: added debug code to conf_write --- global.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/global.sh b/global.sh index 98829902..58652eda 100755 --- a/global.sh +++ b/global.sh @@ -37,6 +37,10 @@ fi conf_write() { # writes the variables in the retrodeck config file + echo "DEBUG: printing the config file content before writing it:" + cat $rd_conf + echo "" + echo "Writing the config file: $rd_conf" # TODO: this can be optimized with a while and a list of variables to check @@ -65,4 +69,8 @@ conf_write() { sed -i "s%themes_folder=.*%themes_folder=$themes_folder%" $rd_conf fi + echo "DEBUG: New contents:" + cat $rd_conf + echo "" + } \ No newline at end of file