Merge "Don't try to install if packages is empty"

This commit is contained in:
Jenkins 2014-08-13 23:36:13 +00:00 committed by Gerrit Code Review
commit 4d4b104e91

View File

@ -63,4 +63,8 @@ if [ -n "$MAP_ELEMENT" ]; then
fi
fi
install_deb_packages $ACTION $PKGS
if [ -z "${PKGS}" ]; then
echo "Not running install-packages $ACTION with empty packages list"
else
install_deb_packages $ACTION $PKGS
fi