~ubuntu-branches/debian/sid/libapt-pkg-perl/sid

« back to all changes in this revision

Viewing changes to examples/apt-cache

  • Committer: Bazaar Package Importer
  • Author(s): Brendan O'Dea
  • Date: 2004-10-14 11:36:07 UTC
  • mfrom: (1.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20041014113607-czp4t2i26cqid10q
Tags: 0.1.13
* Fix ordering of dh_fixperms/dh_strip such that strip works.
* Fix examples/apt-version argument parsing (closes: #276254).
* Remove requirement for apt-pkg/deblistparser.h to allow for
  building on rpm-based systems.  Allow for rpm in t/01_system.t .

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/perl
2
2
 
3
3
#
4
 
# $Id: apt-cache,v 1.1 2002/01/10 08:12:30 bod Exp $
 
4
# $Id: apt-cache,v 1.2 2003/07/19 04:00:35 bod Exp $
5
5
#
6
6
# Example: demonstrate accessing the package cache
7
7
#
54
54
                (join ', ', map $_->{File}{FileName}, @{$v->{FileList}}),
55
55
                ")\n";
56
56
 
 
57
            print "      Priority: $v->{Priority}\n";
 
58
 
57
59
            if (my $deps = $v->{DependsList})
58
60
            {
59
61
                my $type = '';