From cce51abc00f69beba3600c2169e2a7d3bf1626aa Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 25 Aug 2024 19:59:27 +0200 Subject: [PATCH] spcd_os_rm --- spcd/main.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 }