From 5a63a7e30c01a3343da96e222b59360a5aa37391 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 2 May 2018 09:55:05 +0200 Subject: packages/pkginfo.php: fix line breaks and spaces --- packages/pkginfo.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/pkginfo.php b/packages/pkginfo.php index a2a8d19..fb0a992 100644 --- a/packages/pkginfo.php +++ b/packages/pkginfo.php @@ -451,25 +451,25 @@ if (count($elsewhere)>0) { (count($dep["deps"]) > 1) || (array_values($dep["deps"])[0]["pkgname"] != $dep["install_target"]) ); + print " "; if ($virtual_dep) { - print " "; print $dep["install_target"]; - print " (\n"; + print " ("; }; $first = true; foreach ($dep["deps"] as $d_p) { if (!$first) - print ",\n"; + print ", "; $first = false; - print " ".$d_p["pkgname"].""; } if ($virtual_dep) - print "\n )"; + print ")"; print "\n"; }; if ($dep["dependency_type"]!="run") - print " (" . $dep["dependency_type"] . ")\n"; + print " (" . $dep["dependency_type"] . ")\n"; print " \n"; } ?> @@ -483,9 +483,9 @@ if (count($elsewhere)>0) { \n"; - if ($dep["install_target"] != $content["Name"]) - print " ".$dep["install_target"] . " (\n"; print " "; + if ($dep["install_target"] != $content["Name"]) + print $dep["install_target"] . " ("; if ($dep["is_on_master_mirror"]=="1") { print ""; @@ -495,11 +495,11 @@ if (count($elsewhere)>0) { print " [" . $dep["repo"] . "]"; if ($dep["is_on_master_mirror"]=="1") print ""; - print "\n"; if ($dep["install_target"] != $content["Name"]) - print " )\n"; + print ")\n"; if ($dep["dependency_type"] != "run") - print " (" . $dep["dependency_type"] . ")\n"; + print " (" . $dep["dependency_type"] . ")"; + print "\n"; print " \n"; } ?> -- cgit v1.2.3-70-g09d2