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 --- urpm/xml_info_pkg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm') 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