refactor(kiauh): remove feature for changing the klipper config path

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
th33xitus
2022-10-16 18:57:50 +02:00
parent 57432efc45
commit 81d8144c30
4 changed files with 11 additions and 203 deletions

View File

@@ -607,19 +607,6 @@ function compare_klipper_versions() {
#=================== HELPERS ====================#
#================================================#
function get_klipper_cfg_dir() {
local cfg_dir
read_kiauh_ini "${FUNCNAME[0]}"
if [[ -z ${custom_klipper_cfg_loc} ]]; then
cfg_dir="${HOME}/klipper_config"
else
cfg_dir="${custom_klipper_cfg_loc}"
fi
echo "${cfg_dir}"
}
###
# reads the python version from the klipper virtual environment
#