]> git.sur5r.net Git - bacula/docs/commitdiff
Makefile.in improvement
authorPhilippe Chauvat <philippe.chauvat@baculasystems.com>
Wed, 3 Oct 2012 09:34:02 +0000 (11:34 +0200)
committerEric Bollengier <eric@baculasystems.com>
Wed, 3 Oct 2012 09:36:19 +0000 (11:36 +0200)
docs/Makefile.in

index a0e94ac1cd62284c910d94227f750c822862e1fb..b9413e2e71d69ad58ef7a1137255b11576a5bfb9 100644 (file)
@@ -48,7 +48,7 @@ all:    templates external-references
 templates:
        @echo -n "Linking templates.."
        mkdir -p ~/texmf/tex/latex/bsys/
-       if [ -h ~/texmf/tex/latex/bsys/bsysmanual ]; \
+       if [ ! -e  ~/texmf/tex/latex/bsys/bsysmanual ] || [ -h ~/texmf/tex/latex/bsys/bsysmanual ]; \
           then\
                ln -sf `pwd`/bsysmanual ~/texmf/tex/latex/bsys/;\
        fi