If there's no package directory, don't try to install packages from
it. Instead, report that 0 packages are reported. PR: misc/140436
This commit is contained in:
parent
cfb00e5aa7
commit
9a6e729a11
@ -684,6 +684,12 @@ cust_install_files () (
|
||||
|
||||
cust_pkg () (
|
||||
|
||||
# If the package directory doesn't exist, we're done.
|
||||
if [ ! -d ${NANO_PACKAGE_DIR} ]; then
|
||||
echo "DONE 0 packages"
|
||||
return 0
|
||||
fi
|
||||
|
||||
# Copy packages into chroot
|
||||
mkdir -p ${NANO_WORLDDIR}/Pkg
|
||||
(
|
||||
|
Loading…
x
Reference in New Issue
Block a user