pgreco / rpms / ipa

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

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

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