Commit b165926c authored by Andrey Semashev's avatar Andrey Semashev

Updated version check for software-properties-common package.

In Ubuntu 20.04 there appeared an updated version of the
software-properties-common package in focal-updates, which presumably broke
the check for the installed package version in our CI script. Explicitly select
the installed package version for the check.
parent ead065fc
......@@ -424,7 +424,7 @@ jobs:
then
APT_ADD_REPO_COMMON_ARGS=("-y")
APT_ADD_REPO_HAS_SOURCE_ARGS=0
SOFTWARE_PROPERTIES_VERSION="$(dpkg-query --showformat='${Version}' --show software-properties-common)"
SOFTWARE_PROPERTIES_VERSION="$(dpkg-query --showformat='${db:Status-Status} ${Version}\n' --show software-properties-common | fgrep 'installed' | sed -e 's/installed //')"
if dpkg --compare-versions "$SOFTWARE_PROPERTIES_VERSION" ge "0.96.24.20"
then
APT_ADD_REPO_COMMON_ARGS+=("-n")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment