diff --git a/download_and_compile.sh b/download_and_compile.sh index b113621..0e43ff4 100755 --- a/download_and_compile.sh +++ b/download_and_compile.sh @@ -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