From e6460e2c5b44834e4aa4853bf6d3f3d127696456 Mon Sep 17 00:00:00 2001 From: leeym Date: Mon, 24 Feb 2003 16:23:50 +0000 Subject: - fix the file permission problem by running the ${FPSETPERM} script - remove the extra files created by the ${REINPLACE_CMD} PR: 48555 Submitted by: Scot W. Hetzel --- www/frontpage-ar/Makefile | 3 +++ www/frontpage/Makefile | 4 ++++ 2 files changed, 7 insertions(+) (limited to 'www') diff --git a/www/frontpage-ar/Makefile b/www/frontpage-ar/Makefile index 38e38c977364..8321d66e2971 100644 --- a/www/frontpage-ar/Makefile +++ b/www/frontpage-ar/Makefile @@ -52,6 +52,9 @@ do-install: .endfor .for _FP_LCID in ${FP_LCID} @${REINPLACE_CMD} -e 's:IMAGESDIR:../images/:g' ${FP_DIR}/admin/${_FP_LCID}/webadmin.css + @if [ -f ${FP_DIR}/admin/${_FP_LCID}/webadmin.css.bak ] ; then \ + ${RM} ${FP_DIR}/admin/${_FP_LCID}/webadmin.css.bak ; \ + fi @if [ ! -f ${FP_DIR}/help/${_FP_LCID}/wsgindex.htm ]; then \ ${CP} ${FP_DIR}/help/${_FP_LCID}/wsgIndex.htm ${FP_DIR}/help/${_FP_LCID}/wsgindex.htm ; \ fi diff --git a/www/frontpage/Makefile b/www/frontpage/Makefile index 1711c7602e4f..f72a2d5c2b28 100644 --- a/www/frontpage/Makefile +++ b/www/frontpage/Makefile @@ -117,6 +117,9 @@ do-install: @${ECHO_MSG} "===> Untaring FrontPage Extensions to ${PREFIX}" @(cd ${PREFIX} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${FRONTPAGE} ${EXTRACT_AFTER_ARGS}) @${REINPLACE_CMD} -e 's:IMAGESDIR:../images/:g' ${PREFIX}/${FPCSS} + @if [ -f ${PREFIX}/${FPCSS} ]; then \ + ${RM} ${PREFIX}/${FPCSS}.bak ; \ + fi @${RM} ${PREFIX}/${FPHTTPD}/httpd @${MKDIR} ${MOD_FPDOCDIR} @${CP} ${PREFIX}/${README} ${MOD_FPDOCDIR}/index.html @@ -125,5 +128,6 @@ do-install: post-install: @${CAT} ${PKGMESSAGE} + @${PREFIX}/${FPSETPERM} .include -- cgit