diff options
-rw-r--r-- | src/feed.sh | 5 | ||||
-rw-r--r-- | src/install.sh | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/feed.sh b/src/feed.sh index b5247e3..a29ea0a 100644 --- a/src/feed.sh +++ b/src/feed.sh @@ -32,7 +32,8 @@ feed_deps= feed_download() { local base_url="${1}" - local use_gzip="${2}" + local list_file="${2}" + local use_gzip="${3}" local url= if ${use_gzip}; then @@ -41,7 +42,7 @@ feed_download() url="${base_url}/Packages" fi - ${WGET} -q -O - "${url}" + ${WGET} -q -O "${list_file}" "${url}" return 0 } diff --git a/src/install.sh b/src/install.sh index a71c8ae..b2002cb 100644 --- a/src/install.sh +++ b/src/install.sh @@ -124,8 +124,8 @@ install_find_pkgs() esac printf '%s %s %s\n' "${type}" "${name}" \ "${base_url}" >&${opkg_conf_fd} - feed_download "${base_url}" ${gzip} \ - >"${root}/var/lib/opkg/lists/${name}" + feed_download "${base_url}" \ + "${root}/var/lib/opkg/lists/${name}" ${gzip} install_feed_url="${base_url}" feed_find_pkgs "${root}/var/lib/opkg/lists/${name}" \ "$(profile_dep_fields)" profile_include_pkg \ |