summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap-prepare.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap-prepare.sh b/bootstrap-prepare.sh
index 12fa6c4..78b6abb 100755
--- a/bootstrap-prepare.sh
+++ b/bootstrap-prepare.sh
@@ -201,6 +201,8 @@ get_pkg()
pkg_ver="${filename##*/src-}"
pkg_ver="${pkg_ver%_src_all.opk}"
+ grep "^${pkg_ver%_*}\$" "${SCRIPT_DIR}/bootstrap-pkgs.txt" \
+ >/dev/null 2>&1 || return
[ -d "pkg/${pkg_ver%_*}" ] && return
[ -d pkg ] || mkdir pkg