summaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1995-02-11 02:59:04 +0000
committerjmz <jmz@FreeBSD.org>1995-02-11 02:59:04 +0000
commit76290dda9638dd6974c313f36c34d488fcde1239 (patch)
tree068b7c08c988058222504184d5500fb877ddbf02 /print
parent0dfa0979468b82f71a0f37af5148088907d4cf8c (diff)
downloadFreeBSD-ports-76290dda9638dd6974c313f36c34d488fcde1239.zip
FreeBSD-ports-76290dda9638dd6974c313f36c34d488fcde1239.tar.gz
Avoid error during install if an old version already exists.
Diffstat (limited to 'print')
-rw-r--r--print/latex/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/print/latex/Makefile b/print/latex/Makefile
index ab89256..c6c645f 100644
--- a/print/latex/Makefile
+++ b/print/latex/Makefile
@@ -45,7 +45,7 @@ install:
@(cd ${WRKSRC}/base; install -c -m 644 *.ist ${PREFIX}/lib/texmf/makeindx)
@(cd ${WRKSRC}/packages/tools; for f in *.sty *.tex; do \
if [ -f $$f ]; then install -c -m 644 $$f ${PREFIX}/lib/texmf/tex; fi; done)
- @(cd ${PREFIX}/bin; ln -s virtex latex)
+ @(cd ${PREFIX}/bin; rm -f latex; ln -s virtex latex)
.include "Makefile.inc"
OpenPOWER on IntegriCloud