Skip to content

Commit

Permalink
move a log statement to a better spot
Browse files Browse the repository at this point in the history
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
  • Loading branch information
dims committed Jul 9, 2023
1 parent c22d03d commit 67eba10
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ else
exit 1
fi

echo "Verifying that the package versionlocks are correct..."

function versionlock-entries() {
# the format of this output is EPOCH:NAME-VERSION-RELEASE.ARCH
# more info in yum-versionlock(1)
Expand Down Expand Up @@ -78,6 +76,7 @@ function verify-versionlocks() {

# run verify-versionlocks on al2 only, as it is not needed on al2023
if ! cat /etc/*release | grep "al2023" > /dev/null 2>&1; then
echo "Verifying that the package versionlocks are correct..."
verify-versionlocks
fi

Expand Down

0 comments on commit 67eba10

Please sign in to comment.