Dont fail if we have no old-style package-installs

If there are no old-style package-installs and the package-installs
element is included we fail because we call install-packages with no
arguments.

Change-Id: I3c78b51d0a2673ecc581f9faded078974dbc27b7
This commit is contained in:
Gregory Haynes 2015-02-04 18:22:26 -08:00
parent 807e89f063
commit fc1b5d8b6d

View file

@ -62,4 +62,6 @@ for PACKAGEFILE in $(find $WORKDIR -maxdepth 1 -name "package-installs-*" ); do
done < $PACKAGEFILE done < $PACKAGEFILE
done done
install-packages $PACKAGES if [ -n "$PACKAGES" ]; then
install-packages $PACKAGES
fi