pgreco / rpms / ipa

Forked from forks/areguera/rpms/ipa 4 years ago
Clone

Blame SOURCES/0001-Correct-default-fontawesome-path-broken-by-da2cf1c5.patch

57b990
From 486ba017ceab1fb240f2fc48fea6169bc8c97319 Mon Sep 17 00:00:00 2001
57b990
From: Adam Williamson <awilliam@redhat.com>
57b990
Date: Wed, 1 May 2019 16:19:53 -0700
57b990
Subject: [PATCH] Correct default fontawesome path (broken by da2cf1c5)
57b990
57b990
On Fedora/RHEL, it does not have a dash in it. The changes in
57b990
da2cf1c5 inadvertently added a dash to the path in the 'base'
57b990
paths definition (used on Fedora/RHEL), so the font wasn't found.
57b990
57b990
Signed-off-by: Adam Williamson <awilliam@redhat.com>
57b990
---
57b990
 ipaplatform/base/paths.py | 2 +-
57b990
 1 file changed, 1 insertion(+), 1 deletion(-)
57b990
57b990
diff --git a/ipaplatform/base/paths.py b/ipaplatform/base/paths.py
57b990
index 1cd2591bc..e1d396690 100644
57b990
--- a/ipaplatform/base/paths.py
57b990
+++ b/ipaplatform/base/paths.py
57b990
@@ -249,7 +249,7 @@ class BasePathNamespace:
57b990
     USERADD = "/usr/sbin/useradd"
57b990
     FONTS_DIR = "/usr/share/fonts"
57b990
     FONTS_OPENSANS_DIR = "/usr/share/fonts/open-sans"
57b990
-    FONTS_FONTAWESOME_DIR = "/usr/share/fonts/font-awesome"
57b990
+    FONTS_FONTAWESOME_DIR = "/usr/share/fonts/fontawesome"
57b990
     USR_SHARE_IPA_DIR = "/usr/share/ipa/"
57b990
     USR_SHARE_IPA_CLIENT_DIR = "/usr/share/ipa/client"
57b990
     CA_TOPOLOGY_ULDIF = "/usr/share/ipa/ca-topology.uldif"
57b990
-- 
57b990
2.21.0
57b990