You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
381 B
15 lines
381 B
12 months ago
|
#!/bin/sh
|
||
|
|
||
|
t_Log "Running $0 - package should already be installed"
|
||
|
|
||
|
if [ "$centos_ver" -ge "8" ] ; then
|
||
|
t_Log "yum is replaced by dnf on el8. SKIP"
|
||
|
exit 0
|
||
|
fi
|
||
|
rpm -qa | egrep -q 'yum-.*fastestmirror'
|
||
|
t_CheckExitStatus $?
|
||
|
|
||
|
t_Log "Running $0 - yum should have a hard Requires on yum-plugin-fastestmirror"
|
||
|
rpm -q --requires yum | egrep -q 'yum-.*fastestmirror'
|
||
|
t_CheckExitStatus $?
|