Support newest libjpeg-turbo on Fedora 33

This commit is contained in:
Dmitry Maksyoma
2023-01-25 17:27:10 +13:00
parent a5193e240a
commit 55c8c1e80e
2 changed files with 9 additions and 2 deletions

View File

@@ -5,6 +5,8 @@ detect_distro() {
DISTRO=centos
elif [ -f /etc/oracle-release ]; then
DISTRO=oracle
elif [ -f /etc/fedora-release ]; then
DISTRO=fedora
elif [ -f /usr/bin/zypper ]; then
DISTRO=opensuse
else
@@ -18,6 +20,7 @@ install_packages() {
case "$DISTRO" in
centos) install_cmd="yum install -y" ;;
oracle) install_cmd="dnf install -y" ;;
fedora) install_cmd="dnf install -y" ;;
opensuse) install_cmd="zypper install -y" ;;
*) install_cmd="apt-get update && apt-get install -y"
esac