line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package DhMakePerl::Command::refresh_cache; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 NAME |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
DhMakePerl::Command::refresh_cache - dh-make-perl refresh-cache implementation |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 DESCRIPTION |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
This module implements the I command of L. |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=cut |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
1919366
|
use strict; use warnings; |
|
1
|
|
|
1
|
|
19
|
|
|
1
|
|
|
|
|
94
|
|
|
1
|
|
|
|
|
13
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
167
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
our $VERSION = '0.65'; |
16
|
|
|
|
|
|
|
|
17
|
1
|
|
|
1
|
|
90
|
use base 'DhMakePerl'; |
|
1
|
|
|
|
|
7
|
|
|
1
|
|
|
|
|
739
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 METHODS |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=over |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=item execute |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
Provides I command implementation. |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=cut |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
sub execute { |
30
|
|
|
|
|
|
|
my $self = shift; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
$self->get_apt_contents; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
return 0; |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=back |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=cut |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
1; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=over |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=item Copyright (C) 2008, 2009, 2010 Damyan Ivanov |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=back |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it under |
52
|
|
|
|
|
|
|
the terms of the GNU General Public License version 2 as published by the Free |
53
|
|
|
|
|
|
|
Software Foundation. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful, but WITHOUT ANY |
56
|
|
|
|
|
|
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
57
|
|
|
|
|
|
|
PARTICULAR PURPOSE. See the GNU General Public License for more details. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License along with |
60
|
|
|
|
|
|
|
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin |
61
|
|
|
|
|
|
|
Street, Fifth Floor, Boston, MA 02110-1301 USA. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=cut |
64
|
|
|
|
|
|
|
|