[SCM] Debian Live build scripts branch, master, updated. 1.0.2-2-3-g224915f
Chris Lamb
lamby at debian.org
Thu Jan 1 21:12:03 UTC 2009
The following commit has been merged in the master branch:
commit 224915f43332811f9555998941867c54b0002133
Author: Chris Lamb <lamby at debian.org>
Date: Thu Jan 1 21:05:58 2009 +0000
Test for dpkg-query instead of dpkg if we are only going to run dpkg-query within that scope.
Signed-off-by: Chris Lamb <lamby at debian.org>
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
--
Debian Live build scripts
More information about the debian-live-changes
mailing list