summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-27 17:15:20 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-27 17:15:20 +0000
commit6b1205316bc4f4f521ed6ba6649dbfd2167a2f63 (patch)
tree931f41817c2e8812a3c0f56c37bfd29a453045eb /urpm
parenta441548be2953fd682ab72dc3a644ef1567a26a4 (diff)
downloadurpmi-6b1205316bc4f4f521ed6ba6649dbfd2167a2f63.tar
urpmi-6b1205316bc4f4f521ed6ba6649dbfd2167a2f63.tar.gz
urpmi-6b1205316bc4f4f521ed6ba6649dbfd2167a2f63.tar.bz2
urpmi-6b1205316bc4f4f521ed6ba6649dbfd2167a2f63.tar.xz
urpmi-6b1205316bc4f4f521ed6ba6649dbfd2167a2f63.zip
(apply_delta_rpm) do not reinvent ->fullname
Diffstat (limited to 'urpm')
-rw-r--r--urpm/sys.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/sys.pm b/urpm/sys.pm
index 0ac01aec..c59d60fe 100644
--- a/urpm/sys.pm
+++ b/urpm/sys.pm
@@ -290,7 +290,7 @@ sub apply_delta_rpm {
my $rpm;
if ($o_pkg) {
require URPM; #- help perl_checker
- $rpm = $o_pkg->name . '-' . $o_pkg->version . '-' . $o_pkg->release . '.' . $o_pkg->arch . '.rpm';
+ $rpm = $o_pkg->fullname . '.rpm';
} else {
$rpm = `rpm -qp --qf '%{name}-%{version}-%{release}.%{arch}.rpm' '$deltarpm'`;
}