5d33e04596
Where appropriate fiddle with a few other things.
18 lines
330 B
Plaintext
18 lines
330 B
Plaintext
# 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
|