diff --git a/spcd.sh b/spcd.sh index f2f47d6..cf3880b 100644 --- a/spcd.sh +++ b/spcd.sh @@ -34,7 +34,6 @@ spcd_main() { spcd_install_python # TODO move to Python spcd_install_packages - spcd_clean_packages_cache spcd_install_python_modules spcd_write_python_module spcd_switch_to_python "${@}" @@ -701,11 +700,6 @@ spcd_install_packages() { esac } -spcd_clean_packages_cache() { - spcd_step "Clean packages cache" - ${SPCD_PM_CLEAN} || exit -} - spcd_install_python_modules() { spcd_step "Install Python modules" spcd_ipm__root="$(mktemp --directory)" || exit @@ -810,6 +804,7 @@ spcd_install_package() { spcd_install_package__name="${1}" if [ -n "${spcd_install_package__name}" ]; then ${SPCD_PM_INSTALL} "${spcd_install_package__name}" || exit + ${SPCD_PM_CLEAN} || exit fi }