summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-05-26 01:34:30 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-05-26 01:44:17 (EDT)
commit508a4e460a7ae3c82adaf5358f5f6b591a51c6f3 (patch)
tree26f5ac9718712c5370bb1f0279348c505acf8e63
parent08524227747af02f50e0df66e1e62bd6ffff39ce (diff)
install_find_pkgs(): Cut Packages.gz from opkg src/gz lines
Based on commit a9f0cd2 in the master branch.
-rw-r--r--lib/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/install.sh b/lib/install.sh
index 0f11573..331fcbb 100644
--- a/lib/install.sh
+++ b/lib/install.sh
@@ -116,8 +116,8 @@ install_find_pkgs()
'src/gz') gzip=true;;
*) continue;;
esac
- printf '%s %s %s\n' "${opt}" "${feed_idx}" "${feed%/Packages}" \
- >&${opkg_conf_fd}
+ printf '%s %s %s\n' "${opt}" "${feed_idx}" \
+ "${feed%/Packages*}" >&${opkg_conf_fd}
feed_download "${feed}" ${gzip} \
>"${chroot}/var/lib/opkg/lists/${feed_idx}"
install_feed_url="${feed%/*}"