From: Frank Lichtenheld Date: Sat, 8 Sep 2007 20:36:12 +0000 (+0200) Subject: txt/index.tmpl: Fix display of virtual packages X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=c3e52388b36c2e560079419c8f31b9cba66b645f;p=deb%2Fpackages.git txt/index.tmpl: Fix display of virtual packages "IF array" is always true. Use "IF array.size" Noted by Brandon --- 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 %]