rsync
This commit is contained in:
parent
b103d6967c
commit
b3ae76109e
1 changed files with 10 additions and 0 deletions
10
cd.sh
10
cd.sh
|
@ -29,6 +29,8 @@ cd_main () {
|
||||||
cd_upgrade_packages
|
cd_upgrade_packages
|
||||||
cd_install_git
|
cd_install_git
|
||||||
cd_install_python
|
cd_install_python
|
||||||
|
# TODO move to Python
|
||||||
|
cd_install_rsync
|
||||||
cd_clean_packages_cache
|
cd_clean_packages_cache
|
||||||
cd_install_python_modules ${CD_PYTHON_MODULES}
|
cd_install_python_modules ${CD_PYTHON_MODULES}
|
||||||
cd_execute_python_module ${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_DNS_FILE="/etc/resolv.conf"
|
||||||
CD_PKG_CA="ca-certificates"
|
CD_PKG_CA="ca-certificates"
|
||||||
CD_PKG_GIT="git"
|
CD_PKG_GIT="git"
|
||||||
|
# TODO move to Python
|
||||||
|
CD_PKG_RSYNC="rsync"
|
||||||
CD_PYTHON_ALIAS="python3"
|
CD_PYTHON_ALIAS="python3"
|
||||||
cd_split
|
cd_split
|
||||||
cd_echo "CD_DNS_FILE" "CD_PKG_CA" "CD_PKG_GIT" "CD_PYTHON_ALIAS"
|
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}"
|
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_clean_packages_cache () {
|
||||||
cd_step "Clean packages cache"
|
cd_step "Clean packages cache"
|
||||||
${CD_PM_CLEAN} || exit
|
${CD_PM_CLEAN} || exit
|
||||||
|
|
Loading…
Reference in a new issue