Don't create missing directories; that's the duty of mtree(8).
Don't depend on chown(8) in ${INSTALLTMP}; -u/-g have been supported since at least RELENG_4_BP.
This commit is contained in:
parent
4a31781613
commit
ce3edc3a22
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83346
@ -30,12 +30,10 @@ yearistype: yearistype.sh
|
||||
|
||||
beforeinstall:
|
||||
umask 022; cd ${.CURDIR}; \
|
||||
zic -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \
|
||||
zic -D -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \
|
||||
-u ${BINOWN} -g ${BINGRP} \
|
||||
${LEAPFILE} -y ${YEARISTYPE} ${TZFILES}
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
|
||||
${.CURDIR}/zone.tab ${DESTDIR}/usr/share/zoneinfo/
|
||||
|
||||
afterinstall:
|
||||
chown -R ${BINOWN}:${BINGRP} ${DESTDIR}/usr/share/zoneinfo/*
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user