diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-12-06 17:59:15 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-12-06 17:59:15 (EST) |
commit | 0ab432cf4e623b3bb26b24795cea9c42cf2b4a3e (patch) | |
tree | 08129de93fdc5c4d13432c1d8d1e5b93adcf1bee /bootstrap-prepare.sh | |
parent | 4f89f86b090b7e059f937e8a6eb789e1a583851c (diff) |
Diffstat (limited to 'bootstrap-prepare.sh')
-rwxr-xr-x | bootstrap-prepare.sh | 2 |
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 |