From 508a4e460a7ae3c82adaf5358f5f6b591a51c6f3 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 26 May 2015 01:34:30 -0400 Subject: install_find_pkgs(): Cut Packages.gz from opkg src/gz lines Based on commit a9f0cd2 in the master branch. --- (limited to 'lib') 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%/*}" -- cgit v0.9.1