correction mineure avec les options de yum
This commit is contained in:
parent
e5f0df2e18
commit
e9e4e6a56e
|
@ -26,7 +26,7 @@ function pkg_update() {
|
||||||
|
|
||||||
function pkg_upgrade() {
|
function pkg_upgrade() {
|
||||||
# Mettre à jour la liste des packages silencieusement sans confirmation
|
# Mettre à jour la liste des packages silencieusement sans confirmation
|
||||||
LANG=C yum update -qy
|
LANG=C yum update -q -y
|
||||||
}
|
}
|
||||||
|
|
||||||
function pkg_install() {
|
function pkg_install() {
|
||||||
|
@ -36,7 +36,7 @@ function pkg_install() {
|
||||||
#elif check_sysinfos -v rhel4 centos4 redhat4 -b 32; then
|
#elif check_sysinfos -v rhel4 centos4 redhat4 -b 32; then
|
||||||
# LANG=C up2date --channel=rhel-i386-es-4 "${pkgs[@]}"
|
# LANG=C up2date --channel=rhel-i386-es-4 "${pkgs[@]}"
|
||||||
else
|
else
|
||||||
LANG=C yum install -qy "$@"
|
LANG=C yum install -q -y "$@"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue