From 017738340debce668d0019926228d2db17f34ca8 Mon Sep 17 00:00:00 2001 From: th33xitus Date: Sat, 23 Apr 2022 12:41:46 +0200 Subject: [PATCH] refactor: remove double declaration of function Signed-off-by: Dominik Willner th33xitus@gmail.com --- scripts/utilities.sh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/scripts/utilities.sh b/scripts/utilities.sh index 8e28231..f6ebc94 100644 --- a/scripts/utilities.sh +++ b/scripts/utilities.sh @@ -310,18 +310,6 @@ function switch_fluidd_releasetype() { fi } -function switch_fluidd_releasetype() { - read_kiauh_ini - local state="${fluidd_install_unstable}" - if [ "${state}" == "false" ]; then - sed -i '/fluidd_install_unstable=/s/false/true/' "${INI_FILE}" - log_info "fluidd_install_unstable changed (false -> true) " - else - sed -i '/fluidd_install_unstable=/s/true/false/' "${INI_FILE}" - log_info "fluidd_install_unstable changed (true -> false) " - fi -} - function set_custom_klipper_repo() { read_kiauh_ini local repo_url=${1} branch=${2}