spcd_os_rm
This commit is contained in:
parent
3383976437
commit
cce51abc00
1 changed files with 6 additions and 6 deletions
12
spcd/main.sh
12
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue