parent
fd6a31e3be
commit
bb291ccea3
1 changed files with 2 additions and 1 deletions
3
cd.sh
3
cd.sh
|
@ -109,7 +109,8 @@ function cd_update_packages_catalog {
|
||||||
function cd_install_package {
|
function cd_install_package {
|
||||||
if [ "${1}" ] ; then
|
if [ "${1}" ] ; then
|
||||||
case "${CD_OS_NAME}" in
|
case "${CD_OS_NAME}" in
|
||||||
'debian') apt-get install --yes "${1}" || exit ;;
|
'debian') DEBIAN_FRONTEND='noninteractive' \
|
||||||
|
apt-get install --yes "${1}" || exit ;;
|
||||||
*) exit 1 ;;
|
*) exit 1 ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue