summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/install.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/install.sh b/src/install.sh
index edd5c95..978b8dd 100644
--- a/src/install.sh
+++ b/src/install.sh
@@ -19,7 +19,7 @@
# <http://www.gnu.org/licenses/>.
install_deps=
-install_fnames=
+install_urls=
install_md5sums=
install_sha256sums=
install_feed_url=
@@ -107,7 +107,7 @@ install_find_pkgs()
opkg_conf_fd=${FD}
install_deps=
- install_fnames=
+ install_urls=
install_md5sums=
install_sha256sums=
@@ -163,7 +163,7 @@ install_fname_cb()
local pkg="${1}"
local fname="${2}"
- install_fnames="$(printf '%s\n%s %s/%s' "${install_fnames}" \
+ install_urls="$(printf '%s\n%s %s/%s' "${install_urls}" \
"${pkg}" "${install_feed_url}" "${fname}")"
return 0
@@ -214,7 +214,7 @@ install_get_pkgs()
for pkg in $(cat "${root}/.prokit/packages"); do
info "$(get_msg 'install_downloading_pkg')" "${pkg}"
- fname="$(printf '%s\n' "${install_fnames}" | \
+ fname="$(printf '%s\n' "${install_urls}" | \
sed -n "s/^${pkg} //p")"
md5sum="$(printf '%s\n' "${install_md5sums}" | \
sed -n "s/^${pkg} //p")"