summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/create-package-list.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/bin/create-package-list.pl')
-rw-r--r--Master/tlpkg/bin/create-package-list.pl23
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/tlpkg/bin/create-package-list.pl b/Master/tlpkg/bin/create-package-list.pl
new file mode 100644
index 00000000000..1f2b4906b39
--- /dev/null
+++ b/Master/tlpkg/bin/create-package-list.pl
@@ -0,0 +1,23 @@
+#!/usr/bin/env perl -w
+#
+# create-package-list.pl
+# Create thepackage list of the current installation
+# Copyright 2007 Norbert Preining
+#
+# This file is licensed under the GNU General Public Licence version 2
+# or any later version
+
+use strict;
+
+use TLDB;
+use Data::Dumper;
+
+my $TLRoot = ".";
+my $tldblocation = "$TLRoot/local.tldb";
+
+my $tldb = TLDB->new;
+$tldb->from_file($tldblocation);
+
+$tldb->generate_packagelist;
+
+