diff options
Diffstat (limited to '')
-rw-r--r-- | debian/open-infrastructure-container-tools.config | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/open-infrastructure-container-tools.config b/debian/open-infrastructure-container-tools.config index 73d2157..dfe79fe 100644 --- a/debian/open-infrastructure-container-tools.config +++ b/debian/open-infrastructure-container-tools.config @@ -23,7 +23,11 @@ db_go SCRIPT_CHOICES="$(cd /usr/share/container-tools/scripts && find -maxdepth 1 -not -type d -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')" -DISTRIBUTOR="$(lsb_release -is 2>/dev/null)" +if [ -x /usr/bin/lsb_release ] +then + DISTRIBUTOR="$(lsb_release -is 2>/dev/null)" +fi + DISTRIBUTOR="${DISTRIBUTOR:-Debian}" case "${DISTRIBUTOR}" in |