some cleanup
This commit is contained in:
parent
638bf7f369
commit
ae2095e642
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue