From ecdafa0c86c001296adaedb3fa64fb7aceb05928 Mon Sep 17 00:00:00 2001 From: Dev PHP <40915110+developpeur-php@users.noreply.github.com> Date: Sun, 16 Nov 2025 08:38:48 +0000 Subject: [PATCH] Fix variable name for virtual environment removal (#902) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix: wrong variable name venv_path → VENV_PATH in script Because the environment variable was misspelled (venv_path instead of VENV_PATH), the script never detected the directory and therefore failed to remove the folder. This commit fixes the variable name so the directory is correctly deleted. --- auto-cpufreq-installer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto-cpufreq-installer b/auto-cpufreq-installer index f5e8b1e..b31d556 100755 --- a/auto-cpufreq-installer +++ b/auto-cpufreq-installer @@ -238,7 +238,7 @@ function tool_remove { update-desktop-database $APPLICATIONS_PATH # remove python virtual environment - remove_directory $venv_path + remove_directory $VENV_PATH echo; echo "auto-cpufreq tool and all its supporting files successfully removed"; echo }