diff --git a/spcd/main.sh b/spcd/main.sh index 8ec3d47..a0d31de 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -705,7 +705,7 @@ spcd_update_ca_certificates() { spcd_set_https_verification_on() { spcd_step "Set HTTPS verification on" - spcd_rm "${SPCD_PM_HTTPS_PATH}" + spcd_os_rm "${SPCD_PM_HTTPS_PATH}" } spcd_upgrade_packages() { @@ -930,11 +930,11 @@ spcd_os_mkdir() { fi } -spcd_rm() { - spcd_rm__path="${1}" - if [ -e "${spcd_rm__path}" ]; then - echo "← ${spcd_rm__path}" - rm -r "${spcd_rm__path}" || exit +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 fi }