texlive[47800] Master/tlpkg/TeXLive/TLPDB.pm: remove some unnecessary

commits+preining at tug.org commits+preining at tug.org
Wed May 23 04:32:11 CEST 2018


Revision: 47800
          http://tug.org/svn/texlive?view=revision&revision=47800
Author:   preining
Date:     2018-05-23 04:32:11 +0200 (Wed, 23 May 2018)
Log Message:
-----------
remove some unnecessary tests

Modified Paths:
--------------
    trunk/Master/tlpkg/TeXLive/TLPDB.pm

Modified: trunk/Master/tlpkg/TeXLive/TLPDB.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLPDB.pm	2018-05-23 00:31:14 UTC (rev 47799)
+++ trunk/Master/tlpkg/TeXLive/TLPDB.pm	2018-05-23 02:32:11 UTC (rev 47800)
@@ -2020,14 +2020,6 @@
 
   my @filelist = @$filelistref;
 
-  # we assume that $::progs has been set up!
-  my $wget = $::progs{'wget'};
-  my $xzdec = TeXLive::TLUtils::quotify_path_with_spaces($::progs{'xzdec'});
-  if (!defined($wget) || !defined($xzdec)) {
-    tlwarn("TLPDB::_install_data: programs not set up properly; hmm.\n");
-    return(0);
-  }
-
   if (ref $what) {
     # determine the root from where we install
     # if the first argument $self is a string, then it should be the



More information about the tex-live-commits mailing list