summaryrefslogtreecommitdiff
path: root/Master/tlpkg/etc
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/etc')
-rw-r--r--Master/tlpkg/etc/list-new-packages.diff32
1 files changed, 0 insertions, 32 deletions
diff --git a/Master/tlpkg/etc/list-new-packages.diff b/Master/tlpkg/etc/list-new-packages.diff
deleted file mode 100644
index 4f3a1f2aa7e..00000000000
--- a/Master/tlpkg/etc/list-new-packages.diff
+++ /dev/null
@@ -1,32 +0,0 @@
-Index: tlmgr.pl
-===================================================================
---- tlmgr.pl (revision 10450)
-+++ tlmgr.pl (working copy)
-@@ -621,6 +621,27 @@
- } else {
- @todo = @ARGV;
- }
-+ if ($opt_list) {
-+ # we check for new packages
-+ # loop over all installed collections
-+ for my $c ($localtlpdb->collections) {
-+ my $tlc = $mediatlpdb->get_package($c);
-+ if (!defined($tlc)) {
-+ debug("collection $c has disappeared from the network!\n");
-+ } else {
-+ # take all the dependencies of the installed collection
-+ # *as*found* in the network tlpdb
-+ for my $d ($tlc->depends) {
-+ my $tlp = $localtlpdb->get_package($d);
-+ if (!defined($tlp)) {
-+ # there is a dep that is either new or has been forcibly removed
-+ # report it as new/forcibly removed
-+ info("package $d ($c) is new (or has been forcibly removed)\n");
-+ }
-+ }
-+ }
-+ }
-+ }
- if (!@todo) {
- printf "tlmgr update takes either a list of packages or --all\n";
- }