summarylogtreecommitdiffstats
path: root/tllocalmgr-pkgs-nicer-error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tllocalmgr-pkgs-nicer-error.patch')
-rw-r--r--tllocalmgr-pkgs-nicer-error.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/tllocalmgr-pkgs-nicer-error.patch b/tllocalmgr-pkgs-nicer-error.patch
new file mode 100644
index 000000000000..8b528763cf6a
--- /dev/null
+++ b/tllocalmgr-pkgs-nicer-error.patch
@@ -0,0 +1,14 @@
+--- a/tllocalmgr 2020-12-02 16:46:49.214712042 +0100
++++ b/tllocalmgr 2020-12-02 17:05:02.476194535 +0100
+@@ -171,7 +171,10 @@
+ $installedcol_versions{$col} = $ver;
+ my @list = ();
+ unless ( -f "$INSTALLEDPKGS/texlive-$col\_$ver.pkgs" ) {
+- die "Cannot open $INSTALLEDPKGS/texlive-$col\_$ver.pkgs\n"
++ print BOLD RED "Cannot open $INSTALLEDPKGS/texlive-$col\_$ver.pkgs!\n";
++ print RED "-- Likely the package texlive-$col does not create the 'pkgs' file.\n";
++ print LOG "Cannot open $INSTALLEDPKGS/texlive-$col\_$ver.pkgs!\n";
++ next;
+ };
+ open INST, "<$INSTALLEDPKGS/texlive-$col\_$ver.pkgs" ;
+ while (<INST>) {