summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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%/*}"