mv
This commit is contained in:
parent
774b7f84e5
commit
3383976437
1 changed files with 8 additions and 8 deletions
16
spcd/main.sh
16
spcd/main.sh
|
@ -930,6 +930,14 @@ 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
|
||||
fi
|
||||
}
|
||||
|
||||
# ╭───────────┬──────╮
|
||||
# │ functions │ step │
|
||||
# ╰───────────┴──────╯
|
||||
|
@ -1029,14 +1037,6 @@ spcd_pip_install() {
|
|||
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__file="${1}"
|
||||
shift
|
||||
|
|
Loading…
Reference in a new issue