From 1c74927fe5e4c715b9ec9a5fdce8506869149d83 Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Sat, 2 May 2020 12:41:35 +0100 Subject: [PATCH] config: simplify mode default all roads lead to debian i was waiting to get to the work on properly tackling the mode stuff, but let's just tidy this now... Gbp-Dch: Ignore --- functions/configuration.sh | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/functions/configuration.sh b/functions/configuration.sh index 2fba5a148..0793c0dc8 100755 --- a/functions/configuration.sh +++ b/functions/configuration.sh @@ -36,24 +36,7 @@ Prepare_config () LB_SYSTEM="${LB_SYSTEM:-live}" - if command -v lsb_release >/dev/null - then - local _DISTRIBUTOR - _DISTRIBUTOR="$(lsb_release -is | tr "[A-Z]" "[a-z]")" - - case "${_DISTRIBUTOR}" in - debian) - LB_MODE="${LB_MODE:-${_DISTRIBUTOR}}" - ;; - - *) - LB_MODE="${LB_MODE:-debian}" - ;; - esac - else - LB_MODE="${LB_MODE:-debian}" - fi - + LB_MODE="${LB_MODE:-debian}" LB_DERIVATIVE="false" LB_DISTRIBUTION="${LB_DISTRIBUTION:-buster}" LB_DISTRIBUTION_CHROOT="${LB_DISTRIBUTION_CHROOT:-${LB_DISTRIBUTION}}"