Fix the packing list so that when the port is deinstalled,

$PREFIX/share/xml/dtd will be removed if it is empty.

Reported by:	kris
This commit is contained in:
Jacques Vidrine 2005-02-25 03:22:41 +00:00
parent e739b59dee
commit fc7c5ef303
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129715

View file

@ -70,7 +70,7 @@ pre-install:
${ECHO} "@unexec ${SGMLCAT_RM}" >> ${PLIST}
${ECHO} "@exec ${SGMLCAT_ADD}" >> ${PLIST}
${ECHO} "@dirrm ${dir_DTD}" >> ${PLIST}
${ECHO} '@unexec rmdir %D share/xml/dtd 2>/dev/null || true' >> \
${ECHO} '@unexec rmdir %D/share/xml/dtd 2>/dev/null || true' >> \
${PLIST}
${ECHO} "@dirrm ${dir_DOC}/images" >> ${PLIST}
${ECHO} "@dirrm ${dir_DOC}" >> ${PLIST}