add yum-update script

This commit is contained in:
Gilles Mouchet 2024-06-16 18:36:17 +02:00
parent e746fced5e
commit d9eba4c710

View File

@ -147,6 +147,14 @@ printInfo "Update date and time"
if [ $? -ne 0 ]; then printError "Problem to update date and time";exit; fi if [ $? -ne 0 ]; then printError "Problem to update date and time";exit; fi
printSuccess "Date and Time updated successfully" printSuccess "Date and Time updated successfully"
#-----------------------------------------------------------------------------
# get yum-check-update script
#-----------------------------------------------------------------------------
printInfo "Get yum-check-update script"
git clone https://gitweb.dyndns.org/scripts/yum-check.git /tmp/
if [ $? -ne 0 ]; then printError "Problem to clone yum-check-update script";exit; fi
printSuccess "yum-check-update script cloned successfully"
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# update role # update role
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------