summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-16 10:40:51 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-16 10:40:51 (EDT)
commit624f928550c76c803eb23cfdc4c481a47d167fc8 (patch)
tree64c3c1b4d418138c5c3519e69ed8fb44afa94ec5 /src
parentbdf8f4e22d815806c452fe97a03320af87ea1c13 (diff)
prof_proteanos_feeds(): Drop "/Packages.gz" output
Diffstat (limited to 'src')
-rw-r--r--src/install.sh6
-rw-r--r--src/profile/proteanos.sh4
2 files changed, 5 insertions, 5 deletions
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