Fix Check_installed function when checking against host
Thanks to jnqnfe for the report. Closes: #774807
This commit is contained in:
parent
5a169a6fe6
commit
02d933fc17
|
@ -34,6 +34,8 @@ live-build (1:20160105) UNRELEASED; urgency=medium
|
|||
* Drop an optimization in chroot_archives that has undesired side-effects.
|
||||
Thanks to jnqnfe for the patch. Closes: #775989
|
||||
* Drop gpgv and debian-keyring from Suggests.
|
||||
* Fix Check_installed function when checking against host. Thanks to jnqnfe
|
||||
for the report. Closes: #774807
|
||||
|
||||
[ Kristian Klausen ]
|
||||
* Include ext{3,4} journal size when calculating image size. Closes: #801712
|
||||
|
|
|
@ -82,7 +82,7 @@ Check_installed ()
|
|||
else
|
||||
if which dpkg-query > /dev/null 2>&1
|
||||
then
|
||||
if Chroot chroot "dpkg-query -s ${PACKAGE}" 2> /dev/null | grep -qs "Status: install"
|
||||
if dpkg-query -s "${PACKAGE}" 2> /dev/null | grep -qs "Status: install"
|
||||
then
|
||||
INSTALL_STATUS=0
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue