projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be503b8
)
Get APT package files
author
Jamie Cameron
<jcameron@webmin.com>
Thu, 15 May 2008 16:56:01 +0000
(16:56 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Thu, 15 May 2008 16:56:01 +0000
(16:56 +0000)
software/apt-lib.pl
patch
|
blob
|
history
diff --git
a/software/apt-lib.pl
b/software/apt-lib.pl
index
da99aea
..
3cb2fe7
100644
(file)
--- a/
software/apt-lib.pl
+++ b/
software/apt-lib.pl
@@
-107,6
+107,9
@@
while(<DUMP>) {
$pkg->{'version'} = $2;
}
}
+ elsif (/^\s*File:\s*(\S+)/ && $pkg) {
+ $pkg->{'file'} = $1;
+ }
}
close(DUMP);
return @rv;