[138825] trunk/dports/tex/texlive-common/Portfile

dports at macports.org dports at macports.org
Mon Jul 20 20:38:11 PDT 2015


Revision: 138825
          https://trac.macports.org/changeset/138825
Author:   dports at macports.org
Date:     2015-07-20 20:38:11 -0700 (Mon, 20 Jul 2015)
Log Message:
-----------
texlive-common: catch harmless failures in post-activate (#48358)

Modified Paths:
--------------
    trunk/dports/tex/texlive-common/Portfile

Modified: trunk/dports/tex/texlive-common/Portfile
===================================================================
--- trunk/dports/tex/texlive-common/Portfile	2015-07-21 03:09:28 UTC (rev 138824)
+++ trunk/dports/tex/texlive-common/Portfile	2015-07-21 03:38:11 UTC (rev 138825)
@@ -133,7 +133,10 @@
 
     # run mktexlsr if it exists (i.e. if we are upgrading an existing
     # installation)
+    #
+    # Note that this could fail if mktexlsr is installed but broken
+    # during an upgrade, but that's ok (see #48358)
     if [file exists ${prefix}/bin/mktexlsr] {
-        texlive.mktexlsr
+        catch {texlive.mktexlsr}
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150720/84b54daa/attachment.html>


More information about the macports-changes mailing list