From 0933f6d92176ad9f68caa5ea20313d02ec81dc47 Mon Sep 17 00:00:00 2001 From: Fini Jastrow Date: Thu, 3 Sep 2026 08:29:57 +0200 Subject: [PATCH] fc-install: Drop hard fc-cache dependency Signed-off-by: Fini Jastrow --- fc_install | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fc_install b/fc_install index 22ebb5adc..6184f89bb 100755 --- a/fc_install +++ b/fc_install @@ -46,7 +46,7 @@ else FONT_DIR="${FONT_DIR:-/usr/local/share/fonts/NerdFonts}" fi -_REQUIREMENTS=("curl" "fc-cache") +_REQUIREMENTS=("curl") _GH_RELEASE_DATA="" # command line interface @@ -123,8 +123,10 @@ cmd.install() { done popd &>/dev/null rm -rf "$tmp_folder" - msg.info "fontconfig: build font information cache files" - fc-cache + if command fc-cache; then + msg.info "fontconfig: build font information cache files" + fc-cache + fi } cmd.remove.help() {