download_and_compile.sh: other fix for the dpkg-query invocation
Thanks to wkitty42 for pointing it out!
This commit is contained in:
parent
e950c89c2f
commit
663eaaa65b
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ if [[ "$DOWNLOAD_PACKAGES" = "y" ]] && [[ "$APT_GET_UPDATE" = "y" ]]; then
|
|||
fi
|
||||
|
||||
# Ensure 'dctrl-tools' is installed
|
||||
if [[ "$(dpkg-query --showformat='${db:Status-Status}\n' --show dctrl-tools \
|
||||
if [[ "$(dpkg-query --showformat='${Status}\n' --show dctrl-tools \
|
||||
2>/dev/null | awk '{print $3}')" != "installed" ]]; then
|
||||
if [[ "$DOWNLOAD_PACKAGES" = "y" ]]; then
|
||||
_aptInstall dctrl-tools
|
||||
|
|
Loading…
Add table
Reference in a new issue