summaryrefslogtreecommitdiffstats
path: root/urpm/sys.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/sys.pm')
-rw-r--r--urpm/sys.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/sys.pm b/urpm/sys.pm
index f6d33d78..5254fb95 100644
--- a/urpm/sys.pm
+++ b/urpm/sys.pm
@@ -143,6 +143,7 @@ sub apply_delta_rpm {
-e $deltarpm or return 0;
my $rpm;
if ($o_pkg) {
+ require URPM; #- help perl_checker
$rpm = $o_pkg->name . '-' . $o_pkg->version . '-' . $o_pkg->release . '.' . $o_pkg->arch . '.rpm';
} else {
$rpm = `rpm -qp --qf '%{name}-%{version}-%{release}.%{arch}.rpm' '$deltarpm'`;