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:
parent
807e89f063
commit
fc1b5d8b6d
1 changed files with 3 additions and 1 deletions
|
@ -62,4 +62,6 @@ for PACKAGEFILE in $(find $WORKDIR -maxdepth 1 -name "package-installs-*" ); do
|
|||
done < $PACKAGEFILE
|
||||
done
|
||||
|
||||
install-packages $PACKAGES
|
||||
if [ -n "$PACKAGES" ]; then
|
||||
install-packages $PACKAGES
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue