Do not die if the latest (pdf, html) symlinks can't be created
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Fri, 4 Mar 2016 11:09:08 +0000 (12:09 +0100)
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Fri, 4 Mar 2016 11:09:08 +0000 (12:09 +0100)
script/gen.pl

index fe83e6e7a9e56c6a69e49a80a071f28dc35e5e1f..882e385b4f4d1f89b5561db089423dfb9de2b751 100755 (executable)
@@ -36,7 +36,7 @@ do_static() if ( $opt{web} or !$opt{localstatic} );    # need this for all other
 print "Symlinking exim-html-current to exim-html-$opt{latest}\n" if ( $opt{verbose} );
 unlink("$opt{docroot}/exim-html-current") if ( -l "$opt{docroot}/exim-html-current" );
 symlink( "exim-html-$opt{latest}", "$opt{docroot}/exim-html-current" )
-    || die "symlink to $opt{docroot}/exim-html-current failed";
+    || warn "symlink to $opt{docroot}/exim-html-current failed";
 
 # ------------------------------------------------------------------
 ## Generate the website files