From 7e2464f06153e0df652c311ef13941ef6fb40ef6 Mon Sep 17 00:00:00 2001 From: Benjamin Sherman Date: Sun, 16 Jun 2024 23:43:06 -0500 Subject: [PATCH] fix: use fedora release for mergerfs install (#166) --- ucore/install-ucore.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ucore/install-ucore.sh b/ucore/install-ucore.sh index ba6834e..77de571 100755 --- a/ucore/install-ucore.sh +++ b/ucore/install-ucore.sh @@ -2,6 +2,8 @@ set -ouex pipefail +RELEASE="$(rpm -E %fedora)" + ## CONDITIONAL: install sanoid if ZFS if [[ "-zfs" == "${ZFS_TAG}" ]]; then rpm-ostree install sanoid @@ -12,7 +14,7 @@ export IMAGE_NAME=ucore /tmp/packages.sh # install packages direct from github -/tmp/github-release-install.sh trapexit/mergerfs fc.x86_64 +/tmp/github-release-install.sh trapexit/mergerfs fc${RELEASE}.x86_64 # tweak os-release sed -i '/^PRETTY_NAME/s/(uCore.*$/(uCore)"/' /usr/lib/os-release