Skip to content

Commit

Permalink
dont throw error on holding packages
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Jul 28, 2023
1 parent 67477ea commit 4d73f40
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions stages/02-Packages/00-run-chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,9 @@ if [[ "${OS}" == "ubuntu-x86" ]] ; then
echo "Holding back platform-specific packages..."
for package in ${PLATFORM_PACKAGES_HOLD}; do
echo "Holding ${package}..."
apt-mark hold ${package}
( set --ignore-error; apt-mark hold ${package} )
if [ $? -ne 0 ]; then
echo "Failed to remove ${package}!"
exit 1
echo "Failed to hold ${package}!"
fi
done

Expand Down

0 comments on commit 4d73f40

Please sign in to comment.