Skip to content

Commit

Permalink
feat: enable xpadneo for F41 (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsherman authored Oct 27, 2024
1 parent 5ec92fc commit 32d3b29
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions build-kmod-xpadneo.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

set -oux pipefail
set -oeux pipefail


ARCH="$(rpm -E '%_arch')"
Expand All @@ -9,15 +9,6 @@ RELEASE="$(rpm -E '%fedora')"

cp /tmp/ublue-os-akmods-addons/rpmbuild/SOURCES/negativo17-fedora-multimedia.repo /etc/yum.repos.d/

if [[ "${FEDORA_MAJOR_VERSION}" -ge 41 ]]; then
if dnf search akmod-xpadneo|grep -qv "akmod-xpadneo"; then
echo "Skipping build of xpadneo; net yet provided by negativo17"
exit 0
fi
fi

set -e pipefail

### BUILD xpadneo (succeed or fail-fast with debug output)
dnf install -y \
akmod-xpadneo-*.fc${RELEASE}.${ARCH}
Expand Down

0 comments on commit 32d3b29

Please sign in to comment.