From aed3ba3437fa08a0b852f5b2aee16169340610e5 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Tue, 7 Jun 2005 02:44:37 +0000 Subject: Add comment to new function --- urpm.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'urpm.pm') 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; -- cgit v1.2.1