summaryrefslogtreecommitdiffstats
path: root/urpm/sys.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-21 17:41:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-21 17:41:27 +0000
commit30844e6755db13ce18727cc4e7fd113f744e99c0 (patch)
treed6617299a5cc97e91228b3dd63796ca9cd7e5685 /urpm/sys.pm
parent7a06098308affed9fd1498dc8f1cda7e7b6819d8 (diff)
downloadurpmi-30844e6755db13ce18727cc4e7fd113f744e99c0.tar
urpmi-30844e6755db13ce18727cc4e7fd113f744e99c0.tar.gz
urpmi-30844e6755db13ce18727cc4e7fd113f744e99c0.tar.bz2
urpmi-30844e6755db13ce18727cc4e7fd113f744e99c0.tar.xz
urpmi-30844e6755db13ce18727cc4e7fd113f744e99c0.zip
help perl_checker
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'`;