|
@@ -251,10 +251,10 @@ comprobarDependencias() {
|
|
|
which yum > /dev/null 2>&1
|
|
|
comprobarError $? 804
|
|
|
# Actualizamos base de datos del repositorio
|
|
|
- echo -en "Actualizando repositorio YUM..."
|
|
|
+ echo -en "Actualizando repositorio YUM..." | tee -a $logFile
|
|
|
result=$(yum -y makecache 2>&1)
|
|
|
comprobarError $? 805 $result
|
|
|
- echo -en " OK.\n"
|
|
|
+ echo -en " OK.\n" | tee -a $logFile
|
|
|
# Comprobamos Firewall (firewall-cmd)
|
|
|
which firewall-cmd > /dev/null 2>&1
|
|
|
comprobarError $? 807
|