bstinson / centos / t_functional

Forked from centos/t_functional 4 years ago
Clone

Blame tests/p_python-iniparse/0-install-python-iniparse.sh

Dries Verachtert 65aada
#!/bin/bash
Dries Verachtert 65aada
# Author Dries Verachtert <dries.verachtert@dries.eu>
Dries Verachtert 65aada
Dries Verachtert 65aada
# Install python-iniparse: required by yum so a quite important package in CentOS
Dries Verachtert 65aada
t_Log "Running $0 - installing python-iniparse."
Dries Verachtert 65aada
Pablo Greco 3bde5e
if [ "$centos_ver" -ge 8 ] ; then
Pablo Greco 3bde5e
t_InstallPackage python3-iniparse
Pablo Greco 3bde5e
else
Dries Verachtert 65aada
t_InstallPackage python-iniparse
Pablo Greco 3bde5e
fi