summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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(),