commit: c523eb9b47a478a8ccad66e472fe890bd88bad9b
parent e6c43ebd6a32757d3ad6b0e9adf4b4c7549802de
Author: fosslinux <fosslinux@aussies.space>
Date: Sun, 23 Oct 2022 10:16:35 +1100
Fix repo preseed in update_checksums mode
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sysa/helpers.sh b/sysa/helpers.sh
@@ -94,14 +94,14 @@ bin_preseed() {
if [ -d "${SRCDIR}/repo-preseeded" ]; then
get_revision "${pkg}"
cd "${SRCDIR}/repo-preseeded"
- if src_checksum "${pkg}" $((revision)); then
+ if [ "${UPDATE_CHECKSUMS}" = "True" ] || src_checksum "${pkg}" $((revision)); then
echo "${pkg}: installing prebuilt package."
+ mv "${pkg}_${revision}"* ../repo || return 1
if [[ "${pkg}" == bash-* ]]; then
# tar does not like overwriting running bash
# shellcheck disable=SC2153
rm -f "${PREFIX}/bin/bash" "${PREFIX}/bin/sh"
fi
- mv "${pkg}_${revision}"* ../repo
# shellcheck disable=SC2144
if [ -f *-repodata ]; then
mv -- *-repodata ../repo