Skip to content

Commit

Permalink
skip, but auto build xpadneo when available, no really
Browse files Browse the repository at this point in the history
  • Loading branch information
bsherman committed Oct 7, 2024
1 parent 63a8034 commit ee8eb29
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build-kmod-xpadneo.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

set -oeux pipefail
set -oux pipefail


ARCH="$(rpm -E '%_arch')"
Expand All @@ -10,12 +10,13 @@ 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
dnf search akmod-xpadneo|grep -q "akmod-xpadneo"
if [ 1 -eq $? ]; then
if dnf search akmod-xpadneo|grep -qv "akmod-xpadneo"; then
echo "Skipping build of xpadneo; net yet provided by negativo17"
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 ee8eb29

Please sign in to comment.