diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2016-10-02 09:23:27 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2016-10-02 09:23:27 +0000 |
commit | 4e3f3e84d201c35de079bef14fcf0d469ed3bf60 (patch) | |
tree | 0dc184573acd326ee788bf1347e0749e37217fd2 | |
parent | 5546d6e8085e27e7c44d21befcdc95036ddc697e (diff) |
Explicitly set owner and group of the symlinks in etc/fonts/conf.d and
of the fonts.dir and fonts.scale indexes. Needed for noperm release.
ok matthieu
-rw-r--r-- | font/dejavu-ttf/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/font/dejavu-ttf/Makefile b/font/dejavu-ttf/Makefile index c5d1852e7..6797e41d5 100644 --- a/font/dejavu-ttf/Makefile +++ b/font/dejavu-ttf/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2016/08/29 17:27:25 matthieu Exp $ +# $OpenBSD: Makefile,v 1.3 2016/10/02 09:23:26 tb Exp $ FONT_FILES= \ DejaVuMathTeXGyre.ttf \ @@ -54,12 +54,15 @@ install: ${DESTDIR}${fontconfigdir}/conf.avail ; \ ( cd ${DESTDIR}${fontconfigdir}/conf.d ; \ rm -f $$f ; \ - ln -s ../conf.avail/$$f ) ; \ + ln -s ../conf.avail/$$f ; \ + chown -h ${BINOWN}:${BINGRP} $$f ) ; \ done @rm -f ${DESTDIR}${fontdir}/fonts.scale mkfontscale ${DESTDIR}${fontdir} + chown root:wheel ${DESTDIR}${fontdir}/fonts.scale @rm -f ${DESTDIR}${fontdir}/fonts.dir mkfontdir ${DESTDIR}${fontdir} + chown root:wheel ${DESTDIR}${fontdir}/fonts.dir .include <bsd.xorg.mk> |