debian: Don't always try to run dpkg-query command.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 14 Oct 2011 14:22:23 +0000 (15:22 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 14 Oct 2011 14:22:23 +0000 (15:22 +0100)
commit3b66c431e6b5477db8f5c186c14c16506a2df018
tree983f97b5ed4354588390999c39356bd21f69c2f3
parent768f02b0855f605a82a9fca83f4c63cd9399cc60
debian: Don't always try to run dpkg-query command.

Delay calling this until after debian_detect() has been called and
we've decided to use the Debian backend.  Otherwise this breaks
non-dpkg backends.

This fixes commit b8cea4656e5bf1b9e7bb2274ef968ea42b10e0df.
src/febootstrap_debian.ml