mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 18:41:17 +02:00
20 lines
399 B
Plaintext
20 lines
399 B
Plaintext
# $FreeBSD: head/Keywords/fc.ucl 396872 2015-09-13 23:30:21Z hrs $
|
|
#
|
|
# MAINTAINER: x11@FreeBSD.org
|
|
|
|
actions: [dir]
|
|
post-install: <<EOD
|
|
case "%@" in
|
|
/*) fontsdir="%@" ;;
|
|
*) fontsdir="%D/%@" ;;
|
|
esac
|
|
fc-cache -fs ${fontsdir} 2>/dev/null || true
|
|
EOD
|
|
post-deinstall: <<EOD
|
|
case "%@" in
|
|
/*) fontsdir="%@" ;;
|
|
*) fontsdir="%D/%@" ;;
|
|
esac
|
|
fc-cache -fs ${fontsdir} 2>/dev/null || true
|
|
EOD
|