From bd360ccefa495b429b5fea72c61e257139cb0823 Mon Sep 17 00:00:00 2001 From: Ian Leonard Date: Wed, 5 Oct 2022 03:18:38 +0000 Subject: [PATCH] scripts/checkdeps: fedora bdftopcf package name change Signed-off-by: Ian Leonard --- scripts/checkdeps | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scripts/checkdeps b/scripts/checkdeps index 85bf7ecacf..7742bd3d1e 100755 --- a/scripts/checkdeps +++ b/scripts/checkdeps @@ -111,12 +111,20 @@ case "${DISTRO}" in [g++]=gcc-c++ [mkfontscale]=xorg-x11-font-utils [mkfontdir]=xorg-x11-font-utils - [bdftopcf]=xorg-x11-font-utils [xsltproc]=libxslt [java]=java-1.8.0-openjdk [python3]=python3 [rpcgen]=rpcgen ) + if [ "${DISTRO}" = "fedora" ]; then + dep_map+=( + [bdftopcf]=bdftopcf + ) + else + dep_map+=( + [bdftopcf]=xorg-x11-font-utils + ) + fi if [[ ! $(rpm -qa glibc-static) ]]; then dep_map+=( [glibc-static]=glibc-static