diff options
Diffstat (limited to 'plugin/newmetadata.vim')
-rw-r--r-- | plugin/newmetadata.vim | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/plugin/newmetadata.vim b/plugin/newmetadata.vim index f9efeb4..b013d95 100644 --- a/plugin/newmetadata.vim +++ b/plugin/newmetadata.vim @@ -79,16 +79,12 @@ fun! <SID>MakeNewMetadata() put ='<email>' . l:project . '@gentoo.org</email>' put ='</maintainer>' endif - if l:email != "" || l:name != "" - put ='<maintainer type=\"person\">' - if l:email != "" - put ='<email>' . l:email . '</email>' - endif - if l:name != "" - put ='<name>' . l:name . '</name>' - endif - put ='</maintainer>' + put ='<maintainer type=\"person\">' + put ='<email>' . l:email . '</email>' + if l:name != "" + put ='<name>' . l:name . '</name>' endif + put ='</maintainer>' put ='<longdescription lang=\"en\">' put ='</longdescription>' put ='</pkgmetadata>' |