Fix packaging for fresh installations.

Feature safe:	yes
Reported by:	pointyhat via Pav
This commit is contained in:
Thierry Thomas 2011-12-05 20:13:10 +00:00
parent cbbac344b0
commit dd09266da0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286941

View file

@ -78,6 +78,7 @@ do-install:
${MKDIR} ${WWWDIR} ${DATADIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} "*" ${WWWDIR} "! -name LICENSE")
${RM} -rf ${WWWDIR}/debian
${MKDIR} ${WWWDIR}/icons/ # Not used for fresh installation
${TOUCH} ${WWWDIR}/icons/.empty
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
${CHMOD} ug+x ${SCRIPTS:S|^|${WWWDIR}/|}