mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
create bsd12 branch
This commit is contained in:
19
Keywords/fc.ucl
Normal file
19
Keywords/fc.ucl
Normal file
@@ -0,0 +1,19 @@
|
||||
# $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
|
||||
Reference in New Issue
Block a user