From 8dd3b980a1bc34daa4a28ffedf52edf9fa157eef Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 12 Apr 2021 21:12:56 +0200 Subject: Removing conditional default handling for suggest container create script based on distributor, it hasn't worked anyway. Signed-off-by: Daniel Baumann --- debian/open-infrastructure-container-tools.config | 19 ------------------- debian/open-infrastructure-container-tools.templates | 2 +- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/debian/open-infrastructure-container-tools.config b/debian/open-infrastructure-container-tools.config index 3384ed7..d50839e 100644 --- a/debian/open-infrastructure-container-tools.config +++ b/debian/open-infrastructure-container-tools.config @@ -35,25 +35,6 @@ then SCRIPT_CHOICES="$(cd /usr/share/compute-tools/scripts && find -maxdepth 1 -not -type d -and -not -name 'default' -and -not -name 'debconf' -and -not -name '*.d' -printf '%P\n' | sort)" db_subst open-infrastructure-container-tools/script SCRIPT_CHOICES "$(echo ${SCRIPT_CHOICES} | sed -e 's| |, |g')" - if [ -x "$(which lsb_release)" ] - then - DISTRIBUTOR="$(lsb_release -is 2>/dev/null)" - fi - - DISTRIBUTOR="${DISTRIBUTOR:-Debian}" - - case "${DISTRIBUTOR}" in - Progress-Linux) - SCRIPT_DEFAULT="progress-linux" - ;; - - *) - SCRIPT_DEFAULT="debian" - ;; - esac - - db_subst open-infrastructure-container-tools/script SCRIPT_DEFAULT "${SCRIPT_DEFAULT}" - db_settitle open-infrastructure-container-tools/title db_input low open-infrastructure-container-tools/script || true db_go diff --git a/debian/open-infrastructure-container-tools.templates b/debian/open-infrastructure-container-tools.templates index 6ecea08..6d5f9d0 100644 --- a/debian/open-infrastructure-container-tools.templates +++ b/debian/open-infrastructure-container-tools.templates @@ -64,7 +64,7 @@ _Description: cache directory: Template: open-infrastructure-container-tools/script Type: select _Choices: ${SCRIPT_CHOICES} -Default: ${SCRIPT_DEFAULT} +Default: debian _Description: create script: Please select the script that will be used by default to create containers. -- cgit v1.2.3