Don't try to install if packages is empty
After running through pkg-map we could have no packages to install, if so, don't attempt to run a malformed command. Change-Id: Ia8e0aed62bcf814bf85c86b54ff0837da49ae7dd
This commit is contained in:
parent
6f7af6f5a2
commit
94a0947a60
@ -63,4 +63,8 @@ if [ -n "$MAP_ELEMENT" ]; then
|
|||||||
fi
|
fi
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user