diff --git a/cd.sh b/cd.sh index f4c9886..25a6488 100644 --- a/cd.sh +++ b/cd.sh @@ -29,6 +29,8 @@ cd_main () { cd_upgrade_packages cd_install_git cd_install_python + # TODO move to Python + cd_install_rsync cd_clean_packages_cache cd_install_python_modules ${CD_PYTHON_MODULES} cd_execute_python_module ${CD_PYTHON_MODULES} @@ -108,6 +110,8 @@ cd_set_environment_variables () { CD_DNS_FILE="/etc/resolv.conf" CD_PKG_CA="ca-certificates" CD_PKG_GIT="git" + # TODO move to Python + CD_PKG_RSYNC="rsync" CD_PYTHON_ALIAS="python3" cd_split cd_echo "CD_DNS_FILE" "CD_PKG_CA" "CD_PKG_GIT" "CD_PYTHON_ALIAS" @@ -502,6 +506,12 @@ cd_install_python () { cd_ln_python "${CD_PYTHON_COMMAND}" } +# TODO move to Python +cd_install_rsync () { + cd_step "Install Rsync" + cd_install_package "${CD_PKG_RSYNC}" +} + cd_clean_packages_cache () { cd_step "Clean packages cache" ${CD_PM_CLEAN} || exit