clean
This commit is contained in:
parent
dd12290f3e
commit
07578c896b
1 changed files with 1 additions and 6 deletions
7
spcd.sh
7
spcd.sh
|
@ -34,7 +34,6 @@ spcd_main() {
|
||||||
spcd_install_python
|
spcd_install_python
|
||||||
# TODO move to Python
|
# TODO move to Python
|
||||||
spcd_install_packages
|
spcd_install_packages
|
||||||
spcd_clean_packages_cache
|
|
||||||
spcd_install_python_modules
|
spcd_install_python_modules
|
||||||
spcd_write_python_module
|
spcd_write_python_module
|
||||||
spcd_switch_to_python "${@}"
|
spcd_switch_to_python "${@}"
|
||||||
|
@ -701,11 +700,6 @@ spcd_install_packages() {
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
spcd_clean_packages_cache() {
|
|
||||||
spcd_step "Clean packages cache"
|
|
||||||
${SPCD_PM_CLEAN} || exit
|
|
||||||
}
|
|
||||||
|
|
||||||
spcd_install_python_modules() {
|
spcd_install_python_modules() {
|
||||||
spcd_step "Install Python modules"
|
spcd_step "Install Python modules"
|
||||||
spcd_ipm__root="$(mktemp --directory)" || exit
|
spcd_ipm__root="$(mktemp --directory)" || exit
|
||||||
|
@ -810,6 +804,7 @@ spcd_install_package() {
|
||||||
spcd_install_package__name="${1}"
|
spcd_install_package__name="${1}"
|
||||||
if [ -n "${spcd_install_package__name}" ]; then
|
if [ -n "${spcd_install_package__name}" ]; then
|
||||||
${SPCD_PM_INSTALL} "${spcd_install_package__name}" || exit
|
${SPCD_PM_INSTALL} "${spcd_install_package__name}" || exit
|
||||||
|
${SPCD_PM_CLEAN} || exit
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue