From b145d81e1eaf708e4d678dccd992880116df5c8e Mon Sep 17 00:00:00 2001 From: XargonWan Date: Mon, 20 Jan 2025 14:09:11 +0900 Subject: [PATCH] FRAMEWORK: lockfile issue reverted --- functions/other_functions.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/functions/other_functions.sh b/functions/other_functions.sh index 81b4b113..afa28995 100644 --- a/functions/other_functions.sh +++ b/functions/other_functions.sh @@ -560,15 +560,7 @@ install_retrodeck_controller_profile() { create_lock() { # creating RetroDECK's lock file and writing the version in the config file version=$hard_version - if [[ ! -d "$(dirname "$logfile")" ]]; then - mkdir -p "$(dirname "$logfile")" - fi - if [[ -n "$logfile" ]]; then - touch "$logfile" - else - log w "I wished to touch the logfile but the variable is empty, creating a static \"$rdhome/logs/retrodeck.log\" if not already there" - touch "$rdhome/logs/retrodeck.log" || log w "\"$rdhome/logs/retrodeck.log\" already exists, proceeding" - fi + touch "$lockfile" conf_write }