This commit is contained in:
Marc Beninca 2024-08-25 23:55:52 +02:00
parent 530681b688
commit 82ac82da2f
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -184,7 +184,7 @@ spcd_os_cat() {
spcd_cat__file="${1}"
if [ -n "${spcd_cat__file}" ]; then
spcd_frame_open "${spcd_cat__file}"
cat "${spcd_cat__file}" || exit
cat "${spcd_cat__file}"
spcd_frame_shut "${spcd_cat__file}"
fi
}
@ -307,7 +307,7 @@ spcd_os_rm() {
spcd_os_rm__path="${1}"
if [ -e "${spcd_os_rm__path}" ]; then
echo "${spcd_os_rm__path}"
rm -r "${spcd_os_rm__path}" || exit
rm -r "${spcd_os_rm__path}"
fi
}
@ -344,7 +344,7 @@ spcd_python_ln() {
if [ -n "${spcd_python_ln__command}" ]; then
echo "${SPCD_PYTHON_ALIAS}${spcd_python_ln__command}"
ln -f -s "${spcd_python_ln__command}" \
"/usr/bin/${SPCD_PYTHON_ALIAS}" || exit
"/usr/bin/${SPCD_PYTHON_ALIAS}"
fi
}
@ -1022,7 +1022,7 @@ nameserver ${spcd_sdr__value}
spcd_update_packages_catalog() {
spcd_step "Update packages catalog"
${SPCD_PM_UPDATE} || exit
${SPCD_PM_UPDATE}
}
spcd_install_packages_tools() {
@ -1055,7 +1055,7 @@ spcd_write_ca_certificates() {
spcd_update_ca_certificates() {
spcd_step "Update CA certificates"
${SPCD_CMD_CA} || exit
${SPCD_CMD_CA}
}
# ╭───────┬─────╮
@ -1069,7 +1069,7 @@ spcd_set_https_verification_on() {
spcd_upgrade_packages() {
spcd_step "Upgrade packages"
${SPCD_PM_UPGRADE} || exit
${SPCD_PM_UPGRADE}
}
spcd_install_dos2unix() {
@ -1240,8 +1240,8 @@ ${SPCD_PYTHON_ALIAS} / ${spcd_stp__name}"
spcd_install_package() {
spcd_install_package__name="${1}"
if [ -n "${spcd_install_package__name}" ]; then
${SPCD_PM_INSTALL} "${spcd_install_package__name}" || exit
${SPCD_PM_CLEAN} || exit
${SPCD_PM_INSTALL} "${spcd_install_package__name}"
${SPCD_PM_CLEAN}
fi
}