Changeset 107988


Ignore:
Timestamp:
Jul 10, 2013, 4:20:53 AM (6 years ago)
Author:
dports@…
Message:

texlive portgroup: prevent updmap failures from causing activation to
fail (#39690). We already do this for fmtutil.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/texlive-1.0.tcl

    r107915 r107988  
    438438            system "${prefix}/libexec/texlive-update-cnf updmap.cfg"
    439439            system "${prefix}/libexec/texlive-update-cnf fmtutil.cnf"
    440             system "${prefix}/bin/updmap-sys"
    441             # format generation might fail if we are in the middle of
     440            # map/format generation might fail if we are in the middle of
    442441            # a major upgrade and have not yet updated all texlive ports.
    443442            # Catch the error to prevent the upgrade from failing.
     443            catch {system "${prefix}/bin/updmap-sys"}
    444444            catch {system "${prefix}/bin/fmtutil-sys --all"}
    445445        } else {
     
    454454            if {${texlive.maps} != ""} {
    455455                system "${prefix}/libexec/texlive-update-cnf updmap.cfg"
    456                 system "${prefix}/bin/updmap-sys"
     456                catch {system "${prefix}/bin/updmap-sys"}
    457457            }
    458458            if {${texlive.formats} != ""} {
Note: See TracChangeset for help on using the changeset viewer.