summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-25 18:34:31 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-25 18:34:31 (EDT)
commitaa77f151324835f11d2e633bf73bc2625e0c99bc (patch)
tree759084c1491c857521c1e6b764697078089b8e25 /src
parent267fdd978daccfdf776047417498d9bd087c20be (diff)
src/install.sh: Make callback functions "static"
Diffstat (limited to 'src')
-rw-r--r--src/install.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/install.sh b/src/install.sh
index 1d7eed6..bfd937c 100644
--- a/src/install.sh
+++ b/src/install.sh
@@ -46,7 +46,7 @@ _usign_fingerprint()
fi
}
-install_deps_cb()
+_install_deps_cb()
{
local pkg="${1}"
local deps="${2}"
@@ -57,7 +57,7 @@ install_deps_cb()
return 0
}
-install_fname_cb()
+_install_fname_cb()
{
local pkg="${1}"
local fname="${2}"
@@ -69,7 +69,7 @@ install_fname_cb()
return 0
}
-install_md5sum_cb()
+_install_md5sum_cb()
{
local pkg="${1}"
local md5sum="${2}"
@@ -81,7 +81,7 @@ install_md5sum_cb()
return 0
}
-install_sha256sum_cb()
+_install_sha256sum_cb()
{
local pkg="${1}"
local sha256sum="${2}"
@@ -171,8 +171,8 @@ install_find_pkgs()
feed_find_pkgs \
"${root}/$(profile_opkg_state_dir)/lists/${name}" \
"$(profile_dep_fields)" profile_include_pkg \
- install_deps_cb install_fname_cb \
- install_md5sum_cb install_sha256sum_cb \
+ _install_deps_cb _install_fname_cb \
+ _install_md5sum_cb _install_sha256sum_cb \
>&${pkgs_fd}
done <<-EOF
$(profile_feeds "${mirror}" "${arch}" "${plat}" "${suite}")