summaryrefslogtreecommitdiffstats
path: root/debian/open-infrastructure-container-tools.config
diff options
context:
space:
mode:
Diffstat (limited to 'debian/open-infrastructure-container-tools.config')
-rw-r--r--debian/open-infrastructure-container-tools.config2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/open-infrastructure-container-tools.config b/debian/open-infrastructure-container-tools.config
index 0c694fa..514d1bb 100644
--- a/debian/open-infrastructure-container-tools.config
+++ b/debian/open-infrastructure-container-tools.config
@@ -35,7 +35,7 @@ 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 /usr/bin/lsb_release ]
+ if [ -x "$(which lsb_release)" ]
then
DISTRIBUTOR="$(lsb_release -is 2>/dev/null)"
fi