From 079ca81d454bc785a87cabe77657d6f2f7f21a5f Mon Sep 17 00:00:00 2001 From: fiftydinar <65243233+fiftydinar@users.noreply.github.com> Date: Sun, 6 Oct 2024 09:58:16 +0200 Subject: [PATCH] chore(akmods): Use already available OS_VERSION string instead of manually getting one --- modules/akmods/akmods.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/akmods/akmods.sh b/modules/akmods/akmods.sh index 98a08c9..3b12785 100644 --- a/modules/akmods/akmods.sh +++ b/modules/akmods/akmods.sh @@ -11,8 +11,8 @@ SET_HIGHER_PRIORITY_AKMODS_REPO() { INSTALL_RPM_FUSION() { rpm-ostree install \ - https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \ - https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm + https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-${OS_VERSION}.noarch.rpm \ + https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-${OS_VERSION}.noarch.rpm } UNINSTALL_RPM_FUSION() {