summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-06-07 02:44:37 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-06-07 02:44:37 +0000
commitaed3ba3437fa08a0b852f5b2aee16169340610e5 (patch)
tree3ea75ee58d5a2d7c6cdf91ae06704ba587e11969
parentf457702699d5d19f41a0935114c7c83c9dd2531a (diff)
downloadurpmi-aed3ba3437fa08a0b852f5b2aee16169340610e5.tar
urpmi-aed3ba3437fa08a0b852f5b2aee16169340610e5.tar.gz
urpmi-aed3ba3437fa08a0b852f5b2aee16169340610e5.tar.bz2
urpmi-aed3ba3437fa08a0b852f5b2aee16169340610e5.tar.xz
urpmi-aed3ba3437fa08a0b852f5b2aee16169340610e5.zip
Add comment to new function
-rw-r--r--urpm.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/urpm.pm b/urpm.pm
index ee09409a..6ec52d7f 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2526,6 +2526,10 @@ sub get_source_packages {
$error ? @{[]} : (\%local_sources, \@list);
}
+#- checks whether the delta RPM represented by $pkg is installable wrt the
+#- RPM DB on $root. For this, it extracts the rpm version to which the
+#- delta applies from the delta rpm filename itself. So naming conventions
+#- do matter :)
sub is_delta_installable {
my ($urpm, $pkg, $root) = @_;
$pkg->flag_installed or return 0;