From 40d0671b1ae346ebb553de1cfa19d84d5362b8fd Mon Sep 17 00:00:00 2001 From: bobslept <38557801+bobslept@users.noreply.github.com> Date: Mon, 20 Dec 2021 19:14:55 +0100 Subject: [PATCH] Fix removal of shared_dir on remove (#319) --- auto-cpufreq-installer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto-cpufreq-installer b/auto-cpufreq-installer index e39e12a..3cf2064 100755 --- a/auto-cpufreq-installer +++ b/auto-cpufreq-installer @@ -181,7 +181,7 @@ function tool_remove { # remove auto-cpufreq and all its supporting files [ -f $files ] && cat $files | xargs sudo rm -rf && rm -f $files - [ -f $share_dir ] && rm -rf $share_dir + [ -d $share_dir ] && rm -rf $share_dir # files cleanup [ -f $srv_install ] && rm $srv_install