#!/bin/bash

# avoid failures if no packages are passed in to yum install
if [ "$1" = 'install' ]; then
	shift
	if [ x"$@" = 'x' ]; then
		exit
	fi
	yum -y install "$@"
	e=$?
	if [ $e -ne 0 ]; then
		exit $e
	fi

else
	exit 1
fi


#!/bin/bash

# avoid failures if no packages are passed in to yum install
if [ "$1" = 'install' ]; then
	shift
	if [ x"$*" = 'x' ]; then
		exit
	fi
	yum -y install "$@"
	e=$?
	if [ $e -ne 0 ]; then
		exit $e
	fi

else
	exit 1
fi


Allow multiple packages to be installed together.
Allow multiple packages to be installed together.

I don't know why this bug didn't show up before. Weird.
