some cleanup

This commit is contained in:
udeved 2015-01-08 17:50:33 +01:00
parent 638bf7f369
commit ae2095e642

View file

@ -172,9 +172,7 @@ _mkchroot(){
command_create () {
mkdir -p "${work_dir}/iso/${INSTALL_DIR}/${ARCH}"
if [ ! -z "${PKGLIST}" ]; then
_mkchroot "${PKGLIST}" #|| die "Failed to create chroot."
fi
[[ -n "${PKGLIST}" ]] && _mkchroot "${PKGLIST}"
clean_up
}