summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-01-17 14:30:52 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-01-17 14:30:52 (EST)
commitb11aa3630336cf12b3760e9fa3e6bf8a567ce898 (patch)
tree999457b315bf87abb8135b057d3fc750819c7c7a /src
parent178a357e7091772c79171dee607567ade82e647a (diff)
install_*(): Return 0 on success
Diffstat (limited to 'src')
-rw-r--r--src/install.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/install.sh b/src/install.sh
index b14151c..f060b92 100644
--- a/src/install.sh
+++ b/src/install.sh
@@ -81,6 +81,8 @@ install_system()
fi
rm "${root}/prokit/installing"
+
+ return 0
}
install_find_pkgs()
@@ -138,6 +140,8 @@ install_find_pkgs()
pkgs="$(resolve_deps "$(cat "${root}/.prokit/packages")" \
"${install_deps}" | xargs printf '%s\n' | sort -u)"
printf '%s\n' "${pkgs}" >"${root}/.prokit/packages"
+
+ return 0
}
install_deps_cb()
@@ -146,6 +150,8 @@ install_deps_cb()
local deps="${2}"
install_deps="${install_deps}${pkg}: ${deps}${LF}"
+
+ return 0
}
install_fname_cb()
@@ -155,6 +161,8 @@ install_fname_cb()
install_fnames="$(printf '%s\n%s %s/%s' "${install_fnames}" \
"${pkg}" "${install_feed_url}" "${fname}")"
+
+ return 0
}
install_md5sum_cb()
@@ -164,6 +172,8 @@ install_md5sum_cb()
install_md5sums="$(printf '%s\n%s %s' "${install_md5sums}" \
"${pkg}" "${md5sum}")"
+
+ return 0
}
install_sha256sum_cb()
@@ -173,6 +183,8 @@ install_sha256sum_cb()
install_sha256sums="$(printf '%s\n%s %s' \
"${install_sha256sums}" "${pkg}" "${sha256sum}")"
+
+ return 0
}
install_get_pkgs()
@@ -269,4 +281,6 @@ install_get_pkgs()
rmdir "${root}/.prokit"
fclose ${status_fd}
+
+ return 0
}