summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-07-17 16:15:30 +0000
committerCoprDistGit <infra@openeuler.org>2024-07-17 16:15:30 +0000
commite1fa0582a638df6e320f74f06e85911249b8a7cc (patch)
treea81ed83dc643b067bc15b01ee13fccc4bb3c7ee2
parent72d2c4bf2cc0495b7486ec7875c21bf4376d600c (diff)
automatic import of zabbix
-rw-r--r--zabbix.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/zabbix.spec b/zabbix.spec
index 1f90a53..2513156 100644
--- a/zabbix.spec
+++ b/zabbix.spec
@@ -393,7 +393,7 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{srcname}/web
touch $RPM_BUILD_ROOT%{_sysconfdir}/%{srcname}/web/zabbix.conf.php
# Replace bundled font
-[ -d %{_fontbasedir}/google-noto-cjk ] &&
+[ -d %{_datadir}/fonts/google-noto-cjk ] &&
ln -sf ../../../fonts/google-noto-cjk/NotoSansCJKsc-Regular.otf $RPM_BUILD_ROOT%{_datadir}/%{srcname}/assets/fonts/DejaVuSans.ttf
# Replace JS libraries