Navigation Menu

Skip to content

Commit

Permalink
yum: use more proper expression
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhys committed Aug 24, 2012
1 parent 73fb742 commit a45a7ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/yum/build-in-chroot.sh
Expand Up @@ -153,9 +153,10 @@ for architecture in $ARCHITECTURES; do
distribution_versions="17"
;;
centos)
distribution_versions="5 6"
if [ -n "$CENTOS_VERSIONS" ]; then
distribution_versions="$CENTOS_VERSIONS"
else
distribution_versions="5 6"
fi
;;
esac
Expand Down

0 comments on commit a45a7ee

Please sign in to comment.