From b13cbf0e3254f0f875e91e2382b1445ba0363b80 Mon Sep 17 00:00:00 2001 From: Seth Jones Date: Fri, 20 Nov 2020 03:43:03 -0600 Subject: [PATCH] Fedora 33. (#105) * Fedora 33. * Update install.sh * Fix syntax error. --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index dc2de37..86709ab 100755 --- a/install.sh +++ b/install.sh @@ -118,7 +118,11 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then sudo apt install git wget build-essential fakeroot libncurses5-dev libssl-dev ccache bison flex qtbase5-dev bc rsync kmod cpio libelf-dev ${clang_deps} -y elif [ "$_distro" = "Fedora" ]; then msg2 "Installing dependencies" - sudo dnf install fedpkg fedora-packager rpmdevtools ncurses-devel pesign grubby qt5-devel libXi-devel gcc-c++ git ccache flex bison elfutils-libelf-devel openssl-devel dwarves rpm-build ${clang_deps} -y + if [ $(rpm -E %fedora) = "32" ]; then + sudo dnf install fedpkg fedora-packager rpmdevtools ncurses-devel pesign grubby qt5-devel libXi-devel gcc-c++ git ccache flex bison elfutils-libelf-devel openssl-devel dwarves rpm-build ${clang_deps} -y + else + sudo dnf install fedpkg fedora-packager rpmdevtools ncurses-devel pesign grubby libXi-devel gcc-c++ git ccache flex bison elfutils-libelf-devel elfutils-devel openssl openssl-devel dwarves rpm-build perl-devel perl-generators python3-devel make -y ${clang_deps} -y + fi elif [ "$_distro" = "Suse" ]; then msg2 "Installing dependencies" sudo zypper install -y rpmdevtools ncurses-devel pesign libXi-devel gcc-c++ git ccache flex bison elfutils libelf-devel openssl-devel dwarves make patch bc rpm-build libqt5-qtbase-common-devel libqt5-qtbase-devel lz4 ${clang_deps}