diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2013-09-20 19:50:13 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2013-09-20 19:50:13 +0200 |
commit | 40b45cbca6b2a5690ca4ff791d2380180159b86f (patch) | |
tree | f6cedcf69158defcaeeef9613dbc21b401232730 /bin | |
parent | 012a65af50b93e0529720a48db6a34974a92c37c (diff) |
Prefer <description> over <summary>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/package2composer.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/package2composer.sh b/bin/package2composer.sh index cb43644e7..66d77f623 100755 --- a/bin/package2composer.sh +++ b/bin/package2composer.sh @@ -36,7 +36,7 @@ $package = new SimpleXMLElement(file_get_contents($filename)); $data = array( 'name' => $vendor . '/' . strval($package->name), 'type' => 'roundcube-plugin', - 'description' => trim(strval($package->summary) . '; ' . strval($package->description), ';- '), + 'description' => trim(strval($package->description), '- ') ? trim(strval($package->description)) : trim(strval($package->summary)), 'homepage' => strval($package->uri), 'license' => 'GPLv3+', 'authors' => array(), |