parent
0f68d49e46
commit
307e0a34ed
1 changed files with 10 additions and 0 deletions
10
cd.sh
10
cd.sh
|
@ -106,6 +106,16 @@ function cd_update_packages_catalog {
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function cd_install_package {
|
||||||
|
if [ "${1}" ] ; then
|
||||||
|
cd_step "${FUNCNAME}"
|
||||||
|
case "${CD_OS_NAME}" in
|
||||||
|
'debian') apt-get install --yes "${1}" || exit ;;
|
||||||
|
*) exit 1 ;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
function cd_install_ca {
|
function cd_install_ca {
|
||||||
cd_step "${FUNCNAME}"
|
cd_step "${FUNCNAME}"
|
||||||
case "${CD_OS_NAME}" in
|
case "${CD_OS_NAME}" in
|
||||||
|
|
Loading…
Reference in a new issue