From 82ac82da2fa3ee49c48508a1b3b86ad13361b3a1 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 25 Aug 2024 23:55:52 +0200 Subject: [PATCH] =?UTF-8?q?=E2=88=92exit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spcd/main.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/spcd/main.sh b/spcd/main.sh index 69e876e..f5a521b 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -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 }