summaryrefslogtreecommitdiffstats
path: root/lib/cmd
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-05-25 22:22:33 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-05-25 22:22:33 (EDT)
commita9f0cd29cc2192271f0446595e7bdb2009e401e7 (patch)
treef730a13de9ec502b76f8bff2203704d9c7e7c2ae /lib/cmd
parent401e1dc638408455f962a0b7f5f0bd18023739b9 (diff)
cmd/install: Cut Packages.gz from opkg src/gz lines
Diffstat (limited to 'lib/cmd')
-rw-r--r--lib/cmd/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cmd/install.sh b/lib/cmd/install.sh
index a02a77c..e12435e 100644
--- a/lib/cmd/install.sh
+++ b/lib/cmd/install.sh
@@ -166,8 +166,8 @@ cmd_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}"
cmd_install_feed_url="${feed%/*}"