summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/include.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/include.sh b/lib/include.sh
index 6127497..42ccf24 100644
--- a/lib/include.sh
+++ b/lib/include.sh
@@ -65,15 +65,20 @@ include_changes()
source="${_include_source}"
srcver="${_include_version}"
+ info "$(get_msg 'include_including')" "${source}" "${srcver}" \
+ "${chan}" "${dist}"
+
+ if [ "x${_include_files}" = 'x' ]; then
+ warn "$(get_msg 'include_no_files')"
+ return 0
+ fi
+
# List of (binver, arch, plat) tuples to be checked later.
script='s/[0-9][0-9]* [^ ][^ ]* [^_]*_\([^_]*\)'
script="${script}"'_\([^_]*\)_\([^_]*\)\.opk/\1 \2 \3/p'
bvaps="$(printf '%s\n' "${_include_files}" | \
sed -n "${script}" | LC_COLLATE='C' sort | uniq)"
- info "$(get_msg 'include_including')" "${source}" "${srcver}" \
- "${chan}" "${dist}"
-
# Pre-inclusion database sanity checks and updates: check for an
# existing version of the package in the suite.
old_ver="$(db_get_srcver "${chan}" "${dist}" "${source}")"