From 07578c896b2d8e9f47295f5c6e7e162e479e6800 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 29 Jul 2024 11:12:25 +0200 Subject: [PATCH] clean --- spcd.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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 }