summaryrefslogtreecommitdiffstats
path: root/maintdb.php
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2011-12-26 12:44:24 +0000
committerRomain d'Alverny <rda@mageia.org>2011-12-26 12:44:24 +0000
commitc2c2ce319277be9aaecbb4b72f64e45ad7563840 (patch)
tree1b2cc8c1e96e00214321b18e156d3cdaeea9e34b /maintdb.php
parent00f6228e5820ff743a89f42781c01434f409e136 (diff)
downloadpkgsubmit-c2c2ce319277be9aaecbb4b72f64e45ad7563840.tar
pkgsubmit-c2c2ce319277be9aaecbb4b72f64e45ad7563840.tar.gz
pkgsubmit-c2c2ce319277be9aaecbb4b72f64e45ad7563840.tar.bz2
pkgsubmit-c2c2ce319277be9aaecbb4b72f64e45ad7563840.tar.xz
pkgsubmit-c2c2ce319277be9aaecbb4b72f64e45ad7563840.zip
fix txt format for package
Diffstat (limited to 'maintdb.php')
-rw-r--r--maintdb.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/maintdb.php b/maintdb.php
index ab334c4..77a38ca 100644
--- a/maintdb.php
+++ b/maintdb.php
@@ -59,7 +59,7 @@ if (null !== $uid) {
}
} elseif (null !== $pkg) {
if (preg_match_all(sprintf('/%s (.*)\n?/', $pkg), $s, $res)) {
- $return = array($res[1][0] => $pkg);
+ $return = sprintf('%s %s', $res[1][0], $pkg);
}
}
@@ -76,6 +76,6 @@ else {
}
}
} else {
- echo "";
+ echo $return;
}
} \ No newline at end of file