From aa77f151324835f11d2e633bf73bc2625e0c99bc Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 25 Apr 2019 18:34:31 -0400 Subject: src/install.sh: Make callback functions "static" --- (limited to 'src/install.sh') 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}") -- cgit v0.9.1