aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rwxr-xr-xRpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 10502ce2..0aa9d32f 100755
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -168,7 +168,7 @@ sub find_installed_version {
@version ? join(',', sort @version) : N("(none)");
}
-sub formatlistpkg { join("\n", sort { uc($a) cmp uc($b) } @_) }
+sub formatlistpkg { join("\n", map { s/^(\s)/ \1/mg; "- $_" } sort { uc($a) cmp uc($b) } @_) }
# -=-=-=---=-=-=---=-=-=-- install packages -=-=-=---=-=-=---=-=-=-