From c3e52388b36c2e560079419c8f31b9cba66b645f Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Sat, 8 Sep 2007 22:36:12 +0200 Subject: [PATCH] txt/index.tmpl: Fix display of virtual packages "IF array" is always true. Use "IF array.size" Noted by Brandon --- templates/txt/index.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/txt/index.tmpl b/templates/txt/index.tmpl index ab8c473..383c609 100644 --- a/templates/txt/index.tmpl +++ b/templates/txt/index.tmpl @@ -11,7 +11,7 @@ See for the license terms. [%- PROCESS marker text=section IF section != main_section -%] [%- PROCESS marker text=archive IF archive != main_archive -%] [%- END -%] - [%- IF providers %] + [%- IF providers.size %] [% name %] virtual package provided by [% providers.join(', ') %] [%- END -%] [%- IF versions %] -- 2.39.2