Don't assume that if dpkg is installed, we'll actually get a live-helper version number from it.
This commit is contained in:
parent
fc578d6ae6
commit
d8e5221399
|
@ -155,11 +155,11 @@ Local_arguments ()
|
|||
# Dump version
|
||||
if [ -x "$(which dpkg-query 2>/dev/null)" ]
|
||||
then
|
||||
echo "${0}: This is live-helper version $(dpkg-query -f='${Version}') --show live-helper"
|
||||
else
|
||||
echo "${0}: This is live-helper version ${VERSION}"
|
||||
VERSION_DPKG="$(dpkg-query -f='${Version}' --show live-helper)"
|
||||
fi
|
||||
|
||||
echo "${0}: This is live-helper version ${VERSION_DPKG:-${VERSION}}"
|
||||
|
||||
# Dump conffile contents
|
||||
Print_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
|
||||
|
||||
|
|
Loading…
Reference in New Issue