Improving version output of lh_config --dump.
This commit is contained in:
parent
d33dce984d
commit
ef8a1b4ca9
|
@ -153,8 +153,12 @@ Local_arguments ()
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
--dump)
|
--dump)
|
||||||
# Dump version
|
# Dump version
|
||||||
|
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}"
|
echo "${0}: This is live-helper version ${VERSION}"
|
||||||
dpkg -l live-helper || true
|
fi
|
||||||
|
|
||||||
# Dump conffile contents
|
# Dump conffile contents
|
||||||
Print_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
|
Print_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
|
||||||
|
|
Loading…
Reference in New Issue