diff options
author | Chris Lamb <lamby@debian.org> | 2009-01-01 21:05:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:32 +0100 |
commit | fc578d6ae6b273bc02538e8e69fa660f269e6dc0 (patch) | |
tree | 89311da0cf800bc524dbe2976402056f02d47721 /helpers/lh_config | |
parent | 146cbe36710b1312bc8e5cc4078670259b22b21c (diff) | |
download | live-build-fc578d6ae6b273bc02538e8e69fa660f269e6dc0.zip live-build-fc578d6ae6b273bc02538e8e69fa660f269e6dc0.tar.gz |
Test for dpkg-query instead of dpkg if we are only going to run dpkg-query within that scope.
Diffstat (limited to 'helpers/lh_config')
-rwxr-xr-x | helpers/lh_config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_config b/helpers/lh_config index e8a96d3..886113d 100755 --- a/helpers/lh_config +++ b/helpers/lh_config @@ -153,7 +153,7 @@ Local_arguments () case "${1}" in --dump) # Dump version - if [ -x "$(which dpkg 2>/dev/null)" ] + if [ -x "$(which dpkg-query 2>/dev/null)" ] then echo "${0}: This is live-helper version $(dpkg-query -f='${Version}') --show live-helper" else |