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.
18 lines
340 B
18 lines
340 B
12 months ago
|
#!/bin/bash
|
||
|
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
||
|
|
||
|
# nc (netcat) is required for the test
|
||
|
|
||
|
if [ "$centos_ver" -ge 8 ] ;then
|
||
|
t_Log "No whois package for CentOS $centos_ver -> SKIP"
|
||
|
t_CheckExitStatus 0
|
||
|
exit 0
|
||
|
elif [ "$centos_ver" = "7" ] ;then
|
||
|
whois_pkg="whois"
|
||
|
else
|
||
|
whois_pkg="jwhois"
|
||
|
fi
|
||
|
|
||
|
t_InstallPackage $whois_pkg nc
|
||
|
|