[LON-CAPA-cvs] cvs: loncom / LONCAPA.pm

raeburn raeburn at source.lon-capa.org
Fri Aug 7 15:31:56 EDT 2026


raeburn		Fri Aug  7 19:31:56 2026 EDT

  Modified files:              
    /loncom	LONCAPA.pm 
  Log:
  - Reverse part of changes in rev. 1.37. TeX Live version no longer needed.
  
  
Index: loncom/LONCAPA.pm
diff -u loncom/LONCAPA.pm:1.38 loncom/LONCAPA.pm:1.39
--- loncom/LONCAPA.pm:1.38	Fri Aug  7 00:09:31 2026
+++ loncom/LONCAPA.pm	Fri Aug  7 19:31:56 2026
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Base routines
 #
-# $Id: LONCAPA.pm,v 1.38 2026/08/07 00:09:31 raeburn Exp $
+# $Id: LONCAPA.pm,v 1.39 2026/08/07 19:31:56 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -164,23 +164,6 @@
     return 7;
 }
 
-# Return the year of the TeX Live available on this server.
-
-sub texlive_year {
-    my ($latex,$year);
-    $latex = can_run('latex');
-    if ($latex ne '') {
-        my @args = ($latex,'--version','2>&1');
-        if (open(my $pipe,'-|', at args)) {
-            my $line = <$pipe>;
-            chomp($line);
-            ($year) = ($line =~ /\QTeX Live\E\s+(\d+)/);
-            close($pipe);
-        }
-    }
-    return $year;
-}
-
 # Return the version date of hyperref.sty available on this server.
 
 sub hyperref_versiondate {




More information about the LON-CAPA-cvs mailing list