[SCM] Debian Live build scripts branch, master, updated. 1.0.1-1-48-gfdee7eb
Daniel Baumann
daniel at debian.org
Mon Oct 27 05:31:47 UTC 2008
The following commit has been merged in the master branch:
commit 97c4614fd4a8af164cc936e93706ec4008f6d91a
Author: Daniel Baumann <daniel at debian.org>
Date: Mon Oct 27 06:25:25 2008 +0100
Improving version output of lh_config --dump.
diff --git a/helpers/lh_config b/helpers/lh_config
index fd1b105..9b38c8a 100755
--- a/helpers/lh_config
+++ b/helpers/lh_config
@@ -153,8 +153,12 @@ Local_arguments ()
case "${1}" in
--dump)
# Dump version
- echo "${0}: This is live-helper version ${VERSION}"
- dpkg -l live-helper || true
+ if [ -x "$(which dpkg 2>/dev/null)" ]
+ then
+ echo "${0}: This is live-helper version $(dpkg-query --show -f='${Version}')"
+ else
+ echo "${0}: This is live-helper version ${VERSION}"
+ fi
# Dump conffile contents
Print_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
--
Debian Live build scripts
More information about the debian-live-changes
mailing list