aboutsummaryrefslogtreecommitdiffstats
path: root/Keywords/fc.ucl
blob: e54d0477a819492fe681afbfb28c17d163747460 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $FreeBSD$
#
# MAINTAINER: x11@FreeBSD.org

actions: [dir]
post-install: <<EOD
  case "%@" in
  /*) fontsdir="%@" ;;
  *) fontsdir="%D/%@" ;;
  esac
  fc-cache -s ${fontsdir} 2>/dev/null || true
EOD
post-deinstall: <<EOD
  case "%@" in
  /*) fontsdir="%@" ;;
  *) fontsdir="%D/%@" ;;
  esac
  fc-cache -s ${fontsdir} 2>/dev/null || true
EOD