summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-25 18:32:11 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-25 18:32:11 (EDT)
commitb58fbfb19753f4cd254e36f1d48eb95f0ad9bf3a (patch)
treefd79e0cd7ca8f162c452d3355ea53a13d627eb91 /src
parente3a2e82381c8192b6e6c7868d12497422bcd0d26 (diff)
src/install.sh: Shift func args, update copyright
Diffstat (limited to 'src')
-rw-r--r--src/install.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/install.sh b/src/install.sh
index ca1afaf..74d8101 100644
--- a/src/install.sh
+++ b/src/install.sh
@@ -1,6 +1,6 @@
# Functions for installing systems
#
-# Copyright (C) 2013-2015 Patrick "P. J." McDermott
+# Copyright (C) 2013-2015 Patrick McDermott
#
# This file is part of the ProteanOS Development Kit.
#
@@ -32,6 +32,7 @@ install_system()
local plat="${4}"
local root="${5}"
local foreign="${6}"
+ shift 6
if [ "x${arch}" = 'x' ]; then
arch="$(profile_detect_arch)"
@@ -88,6 +89,7 @@ install_system()
_usign_fingerprint()
{
local key_data="${1}"
+ shift 1
local usign=
if ${in_place} && ${USIGN_EMBEDDED}; then
@@ -113,6 +115,7 @@ install_find_pkgs()
local arch="${3}"
local plat="${4}"
local root="${5}"
+ shift 5
local opkg_conf_fd=
local pkgs_fd=
local type=
@@ -206,6 +209,7 @@ install_deps_cb()
{
local pkg="${1}"
local deps="${2}"
+ shift 2
install_deps="${install_deps}${pkg}: ${deps}${LF}"
@@ -216,6 +220,7 @@ install_fname_cb()
{
local pkg="${1}"
local fname="${2}"
+ shift 2
install_urls="$(printf '%s\n%s %s/%s' "${install_urls}" \
"${pkg}" "${install_feed_url}" "${fname}")"
@@ -227,6 +232,7 @@ install_md5sum_cb()
{
local pkg="${1}"
local md5sum="${2}"
+ shift 2
install_md5sums="$(printf '%s\n%s %s' "${install_md5sums}" \
"${pkg}" "${md5sum}")"
@@ -238,6 +244,7 @@ install_sha256sum_cb()
{
local pkg="${1}"
local sha256sum="${2}"
+ shift 2
install_sha256sums="$(printf '%s\n%s %s' \
"${install_sha256sums}" "${pkg}" "${sha256sum}")"
@@ -248,6 +255,7 @@ install_sha256sum_cb()
install_get_pkgs()
{
local root="${1}"
+ shift 1
local status_fd=
local errors=
local pkg=