mv
This commit is contained in:
parent
a4556cd22b
commit
c062e717b7
1 changed files with 9 additions and 9 deletions
18
spcd/main.sh
18
spcd/main.sh
|
@ -302,6 +302,15 @@ spcd_os_rm() {
|
||||||
# │ functions │ python │
|
# │ functions │ python │
|
||||||
# ╰───────────┴────────╯
|
# ╰───────────┴────────╯
|
||||||
|
|
||||||
|
spcd_python_ln() {
|
||||||
|
spcd_python_ln__command="${1}"
|
||||||
|
if [ -n "${spcd_python_ln__command}" ]; then
|
||||||
|
echo "→ ${SPCD_PYTHON_ALIAS} → ${spcd_python_ln__command}"
|
||||||
|
ln -f -s "${spcd_python_ln__command}" \
|
||||||
|
"/usr/bin/${SPCD_PYTHON_ALIAS}" || exit
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
spcd_python_pip() {
|
spcd_python_pip() {
|
||||||
if [ -n "${1}" ]; then
|
if [ -n "${1}" ]; then
|
||||||
spcd_pp__name="$(basename "${1}")"
|
spcd_pp__name="$(basename "${1}")"
|
||||||
|
@ -1199,15 +1208,6 @@ spcd_install_package() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
spcd_python_ln() {
|
|
||||||
spcd_python_ln__command="${1}"
|
|
||||||
if [ -n "${spcd_python_ln__command}" ]; then
|
|
||||||
echo "→ ${SPCD_PYTHON_ALIAS} → ${spcd_python_ln__command}"
|
|
||||||
ln -f -s "${spcd_python_ln__command}" \
|
|
||||||
"/usr/bin/${SPCD_PYTHON_ALIAS}" || exit
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
spcd_openssl() {
|
spcd_openssl() {
|
||||||
spcd_openssl__file="${1}"
|
spcd_openssl__file="${1}"
|
||||||
if [ -f "${spcd_openssl__file}" ]; then
|
if [ -f "${spcd_openssl__file}" ]; then
|
||||||
|
|
Loading…
Reference in a new issue