diff options
author | asami <asami@FreeBSD.org> | 1999-09-12 10:48:34 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1999-09-12 10:48:34 +0800 |
commit | 1f9ce759befbce18a77a2508be0ccf4957aee96c (patch) | |
tree | df2ba033b54241aa3678c164ae476be7bf95b0a0 | |
parent | 29fcdd6ac917e3247f69d8d701d35a12d99750ed (diff) | |
download | freebsd-ports-gnome-1f9ce759befbce18a77a2508be0ccf4957aee96c.tar.gz freebsd-ports-gnome-1f9ce759befbce18a77a2508be0ccf4957aee96c.tar.zst freebsd-ports-gnome-1f9ce759befbce18a77a2508be0ccf4957aee96c.zip |
Fix installation.
Submitted by: Jeremy Lea <reg@shale.csir.co.za>
-rw-r--r-- | www/analog/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/www/analog/Makefile b/www/analog/Makefile index a0d1e4fc887a..abc993d3438e 100644 --- a/www/analog/Makefile +++ b/www/analog/Makefile @@ -41,11 +41,10 @@ do-install: ${INSTALL_PROGRAM} analog ${PREFIX}/bin cd ${WRKSRC} && \ for file in analog.cfg ; do \ - if [ -f ${PREFIX}/etc/$$file ] ; then \ - ${INSTALL_DATA} -m 644 $$file ${PREFIX}/etc/$$file-dist ; \ - else \ + if [ ! -f ${PREFIX}/etc/$$file ] ; then \ ${INSTALL_DATA} -m 644 $$file ${PREFIX}/etc/$$file ; \ fi ; \ + ${INSTALL_DATA} -m 644 $$file ${PREFIX}/etc/$$file-dist ; \ done .if !defined(NOPORTDOCS) cd ${WRKSRC}/docs && \ |