ln
This commit is contained in:
parent
9214a5f1b3
commit
0aabefd385
1 changed files with 9 additions and 13 deletions
|
@ -329,19 +329,6 @@ spcd_os_write() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# ╭───────────┬────────╮
|
|
||||||
# │ 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}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# ╭───────────┬───────╮
|
# ╭───────────┬───────╮
|
||||||
# │ functions │ split │
|
# │ functions │ split │
|
||||||
# ╰───────────┴───────╯
|
# ╰───────────┴───────╯
|
||||||
|
@ -810,6 +797,15 @@ spcd_install_package() {
|
||||||
spcd_clean_cache
|
spcd_clean_cache
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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}"
|
||||||
|
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}")"
|
||||||
|
|
Loading…
Reference in a new issue