summaryrefslogtreecommitdiff
path: root/bin/package2composer.sh
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-09-20 19:50:13 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-09-20 19:50:13 +0200
commit40b45cbca6b2a5690ca4ff791d2380180159b86f (patch)
treef6cedcf69158defcaeeef9613dbc21b401232730 /bin/package2composer.sh
parent012a65af50b93e0529720a48db6a34974a92c37c (diff)
Prefer <description> over <summary>
Diffstat (limited to 'bin/package2composer.sh')
-rwxr-xr-xbin/package2composer.sh2
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(),