This commit is contained in:
Marc Beninca 2024-08-25 19:57:50 +02:00
parent 774b7f84e5
commit 3383976437
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -930,6 +930,14 @@ spcd_os_mkdir() {
fi fi
} }
spcd_rm() {
spcd_rm__path="${1}"
if [ -e "${spcd_rm__path}" ]; then
echo "${spcd_rm__path}"
rm -r "${spcd_rm__path}" || exit
fi
}
# ╭───────────┬──────╮ # ╭───────────┬──────╮
# │ functions │ step │ # │ functions │ step │
# ╰───────────┴──────╯ # ╰───────────┴──────╯
@ -1029,14 +1037,6 @@ spcd_pip_install() {
fi fi
} }
spcd_rm() {
spcd_rm__path="${1}"
if [ -e "${spcd_rm__path}" ]; then
echo "${spcd_rm__path}"
rm -r "${spcd_rm__path}" || exit
fi
}
spcd_sed() { spcd_sed() {
spcd_sed__file="${1}" spcd_sed__file="${1}"
shift shift