From 624f928550c76c803eb23cfdc4c481a47d167fc8 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 16 Apr 2019 10:40:51 -0400 Subject: prof_proteanos_feeds(): Drop "/Packages.gz" output --- diff --git a/src/install.sh b/src/install.sh index a52bcd7..a71c8ae 100644 --- a/src/install.sh +++ b/src/install.sh @@ -123,10 +123,10 @@ install_find_pkgs() *) continue;; esac printf '%s %s %s\n' "${type}" "${name}" \ - "${base_url%/Packages*}" >&${opkg_conf_fd} - feed_download "${base_url%/Packages*}" ${gzip} \ + "${base_url}" >&${opkg_conf_fd} + feed_download "${base_url}" ${gzip} \ >"${root}/var/lib/opkg/lists/${name}" - install_feed_url="${base_url%/*}" + install_feed_url="${base_url}" feed_find_pkgs "${root}/var/lib/opkg/lists/${name}" \ "$(profile_dep_fields)" profile_include_pkg \ install_deps_cb install_fname_cb \ diff --git a/src/profile/proteanos.sh b/src/profile/proteanos.sh index ff03354..6b029e4 100644 --- a/src/profile/proteanos.sh +++ b/src/profile/proteanos.sh @@ -141,7 +141,7 @@ prof_proteanos_feeds() printf 'src/gz proteanos_%s_%s_%s_%s_%s ' \ "${suite%/*}" "${suite#*/}" \ "${a}" "${p}" "${s}" - printf '%s/feeds/%s/%s/%s/%s/Packages.gz\n' \ + printf '%s/feeds/%s/%s/%s/%s\n' \ "${mirror}" "${suite}" \ "${a}" "${p}" "${s}" done @@ -152,7 +152,7 @@ prof_proteanos_feeds() printf 'src/gz proteanos_%s_%s_%s_%s_%s ' \ "${suite%/*}" "${suite#*/}" \ 'src' 'all' "${s}" - printf '%s/feeds/%s/%s/%s/%s/Packages.gz\n' \ + printf '%s/feeds/%s/%s/%s/%s\n' \ "${mirror}" "${suite}" \ 'src' 'all' "${s}" done -- cgit v0.9.1