diff options
-rw-r--r-- | src/feed.sh | 2 | ||||
-rw-r--r-- | src/install.sh | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/feed.sh b/src/feed.sh index db53f57..a4b4d31 100644 --- a/src/feed.sh +++ b/src/feed.sh @@ -34,6 +34,7 @@ feed_download() local base_url="${1}" local list_file="${2}" local use_gzip="${3}" + local root="${4}" local url= local gunzip= @@ -57,6 +58,7 @@ feed_download_cert() local base_url="${1}" local list_file="${2}" local use_gzip="${3}" + local root="${4}" local url= local usign= diff --git a/src/install.sh b/src/install.sh index 246240f..400fd3b 100644 --- a/src/install.sh +++ b/src/install.sh @@ -175,7 +175,7 @@ install_find_pkgs() "${base_url}" >&${opkg_conf_fd} if ! ${dl_func} "${base_url}" \ "${root}/var/lib/opkg/lists/${name}" \ - ${gzip}; then + ${gzip} "${root}"; then return 1 fi install_feed_url="${base_url}" |