Merge pull request #24 from knightabe/remove_deprecated_yum_localinstall

yum localinstall is deprecated, install will handle local files as well.
This commit is contained in:
Henric Andersson 2015-10-08 06:34:41 -07:00
commit ea071d81df

View file

@ -289,7 +289,7 @@ fi
if [ "${AUTOINSTALL}" == "yes" ]; then
if [ "${REDHAT}" == "yes" ]; then
sudo yum -y localinstall "${DOWNLOADDIR}/${FILENAME}"
sudo yum -y install "${DOWNLOADDIR}/${FILENAME}"
else
sudo dpkg -i "${DOWNLOADDIR}/${FILENAME}"
fi