From 12b0564ab9ae782dbf5743eb5f5376a60f1f39ba Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 14 Jan 2008 07:44:42 +0000 Subject: - urpmf: o fix --license --- NEWS | 3 +++ urpm/xml_info_pkg.pm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 2e7902d8..e651f10f 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +- urpmf: + o fix --license + Version 5.0 - 11 January 2008, by Pascal "Pixel" Rigaux - urpmf, urpmq: diff --git a/urpm/xml_info_pkg.pm b/urpm/xml_info_pkg.pm index ce0fb0cd..b1af11a0 100644 --- a/urpm/xml_info_pkg.pm +++ b/urpm/xml_info_pkg.pm @@ -23,7 +23,7 @@ sub summary { $_[0]{pkg}->summary } # can be directly available in xml_info sub url { exists $_[0]{url} ? $_[0]{url} : $_[0]{pkg}->url } -sub licence { exists $_[0]{licence} ? $_[0]{licence} : $_[0]{pkg}->licence } +sub license { exists $_[0]{license} ? $_[0]{license} : $_[0]{pkg}->license } sub sourcerpm { exists $_[0]{sourcerpm} ? $_[0]{sourcerpm} : $_[0]{pkg}->sourcerpm } sub description { exists $_[0]{description} ? $_[0]{description} : $_[0]{pkg}->description } -- cgit v1.2.1