nixpkgs-odroid-hc4/pkgs/tools/graphics/gnuplot/set-gdfontpath-from-fontconfig.sh
2025-12-20 09:59:59 +11:00

4 lines
130 B
Bash

p=( $(fc-list : file | sed "s@/[^/]*: @@" | sort -u) )
IFS=:
export GDFONTPATH="${GDFONTPATH}${GDFONTPATH:+:}${p[*]}"
unset IFS p