summaryrefslogtreecommitdiffstats
path: root/src/install.sh
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-16 10:39:00 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-16 10:39:00 (EDT)
commitbdf8f4e22d815806c452fe97a03320af87ea1c13 (patch)
tree55a4712750137812860e5217394afe403317fc27 /src/install.sh
parentdfb5527c2021ab89ec69e2133817b9ce3f3b49e9 (diff)
feed_download(): Accept base URL, not index URL
Diffstat (limited to 'src/install.sh')
-rw-r--r--src/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.sh b/src/install.sh
index 248c268..a52bcd7 100644
--- a/src/install.sh
+++ b/src/install.sh
@@ -124,7 +124,7 @@ install_find_pkgs()
esac
printf '%s %s %s\n' "${type}" "${name}" \
"${base_url%/Packages*}" >&${opkg_conf_fd}
- feed_download "${base_url}" ${gzip} \
+ feed_download "${base_url%/Packages*}" ${gzip} \
>"${root}/var/lib/opkg/lists/${name}"
install_feed_url="${base_url%/*}"
feed_find_pkgs "${root}/var/lib/opkg/lists/${name}" \