Compare commits

...

2 commits

Author SHA1 Message Date
a29e296c4e
sum
Some checks failed
/ arch (push) Successful in 2m56s
/ alpine (push) Successful in 3m23s
/ fedora (push) Successful in 12m45s
/ opensuse (push) Successful in 3m35s
/ alma (push) Successful in 12m23s
/ rocky (push) Successful in 12m35s
/ ubuntu (push) Successful in 5m53s
/ debian (push) Failing after 3m32s
2024-08-31 11:46:19 +02:00
ae26531916
fix 2024-08-31 11:24:38 +02:00
2 changed files with 6 additions and 7 deletions

View file

@ -125,7 +125,6 @@ Handle project workflows in a unified way:
| Variable | Description | Default |
|:------------------|:-------------------------|:--------------------------------|
| SPCD_CA_n | Numbered CA certificates | |
| SPCD_CMD_SUM | Command to check sums | sha512sum |
| SPCD_DNS_n | Numbered name servers | 9.9.9.9 |
| SPCD_GIT_RWX | RWX Git repository | rwx |
| SPCD_GIT_SHUNIT | ShUnit Git repository | shunit2 |

View file

@ -4,6 +4,8 @@
# │ _ │
# ╰───╯
_SPCD_CMD_SUM="sha512sum"
_spcd_fill() {
local index="${1}"
while [ "${index}" -gt 0 ]; do
@ -392,7 +394,6 @@ SPCD_PM_ZYPPER="zypper"
spcd_step__environment_defaults_print() {
set -- \
\
"CMD_SUM" \
\
"GIT_RWX" \
"GIT_SPCD" \
@ -425,7 +426,6 @@ spcd_step__environment_defaults_print() {
spcd_step__environment_defaults_set() {
spcd_step "$(spcd_txt_get "set")"
[ -n "${SPCD_CMD_SUM}" ] || SPCD_CMD_SUM="sha512sum"
[ -n "${SPCD_DNS_1}" ] || SPCD_DNS_1="9.9.9.9"
@ -1268,13 +1268,13 @@ spcd_step__python_modules() {
spcd_step "Check"
script="${path}/bootstrap.sh"
ls -l "${script}"
check="${script}.${SPCD_CMD_SUM}"
"${SPCD_CMD_SUM}" "${script}" >"${check}"
check="${script}.${_SPCD_CMD_SUM}"
"${_SPCD_CMD_SUM}" "${script}" >"${check}"
printf "%s" "${SPCD}" >"${script}"
ls -l "${script}"
dos2unix "${script}"
ls -l "${script}"
"${SPCD_CMD_SUM}" -c "${check}" || spcd_error_ci "SPCD"
"${_SPCD_CMD_SUM}" -c "${check}" || spcd_error_ci "SPCD"
spcd_step "Root"
spcd_python_pip "${SPCD_GIT_RWX}"
spcd_step "List"
@ -1312,7 +1312,7 @@ spcd_step__install_packages() {
"|^#baseurl|baseurl|"
done
file="/etc/yum.repos.d/epel-cisco-openh264.repo"
if [ -f "${spcd_spr__file}" ]; then
if [ -f "${file}" ]; then
spcd_os_sed "${file}" \
"|^enabled=1|enabled=0|"
fi