summaryrefslogtreecommitdiff
path: root/new-infra/create-package-list.pl
blob: 1f2b4906b39e699f0d0a2291d0286c7e7c5dab39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;