distro=$(python -c 'import platform;print platform.linux_distribution()[0].lower().rstrip()')
echo $distro
if [ "$distro" = "opensuse" ]; then
- sudo zypper install -y --oldpackage createrepo_c-0.10.3
+ sudo zypper install -y --oldpackage createrepo_c-0.10.4
fi
if [ "$distro" = "fedora" ] || [ "$distro" = "centos" ] || [ "$distro" = "centos linux" ]; then
sudo yum clean all
- sudo yum install -y createrepo_c-0.10.3 --setopt=protected_multilib=false --nogpgcheck
+ sudo yum install -y createrepo_c-0.10.4 --setopt=protected_multilib=false --nogpgcheck
sudo yum clean all
sudo rpm --rebuilddb
sudo yum install -y wget --nogpgcheck
fi
if [ "$distro" = "ubuntu" ] || [ "$distro" = "debian" ]; then
- sudo apt-get install -y --force-yes createrepo-c=0.10.3
+ sudo apt-get install -y --force-yes createrepo-c=0.10.4
fi
createrepo --version || True