Skip to content

Commit

Permalink
show held packages to debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Nov 20, 2023
1 parent 0a967cd commit 35e1f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ci-before-install-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ fi

if [ ! -z "$INSTALL_PACKAGES" ]; then
echo "Held packages:"
sudo dpkg --get-selections | grep hold
sudo dpkg --get-selections | { grep hold || true; } # { || true; } prevents CI from exiting when grep returns '1' (no match)

echo "Installing packages $INSTALL_PACKAGES"
sudo apt-get install -qq $INSTALL_PACKAGES
Expand Down

0 comments on commit 35e1f2f

Please sign in to comment.