diff --git a/spcd.sh b/spcd.sh index 457f63e..18ae599 100644 --- a/spcd.sh +++ b/spcd.sh @@ -704,17 +704,16 @@ spcd_install_packages() { index-url = ${SPCD_URL_PYTHON} " spcd_split - spcd_ip__venv="/opt/venv" - "${SPCD_PYTHON_ALIAS}" -m "venv" "${spcd_ip__venv}" + "${SPCD_PYTHON_ALIAS}" -m "venv" "${SPCD_VENV}" spcd_split for spcd_ip__name in "spcd" "rwx"; do rsync --archive --verbose \ "${SPCD_PYTHON_PACKAGES}/${spcd_ip__name}/" \ "\ -${spcd_ip__venv}/lib/${SPCD_PYTHON_COMMAND}/site-packages/${spcd_ip__name}/" +${SPCD_VENV}/lib/${SPCD_PYTHON_COMMAND}/site-packages/${spcd_ip__name}/" done spcd_split - . "${spcd_ip__venv}/bin/activate" + . "${SPCD_VENV}/bin/activate" spcd_split pip install --upgrade "pip" spcd_split @@ -955,6 +954,8 @@ SPCD_PM_APT="apt" SPCD_PM_DNF="dnf" SPCD_PM_PACMAN="pacman" +SPCD_VENV="/opt/venv" + SPCD_HORIZONTAL="────╌╌╌╌┄┄┄┄┈┈┈┈" SPCD_OPEN="${SPCD_BOX_DOWN}${SPCD_BOX_LEFT}"