diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2004-10-12 21:05:21 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2004-10-12 21:05:21 +0000 |
commit | a7b52ccb4860d56533de0839df3b0c99aa54a9f5 (patch) | |
tree | 87341ef0dbde34f2a22d97ac2d78c61875ee0f04 /usr.sbin | |
parent | f5900a7dacf749522d518624339ff50c4c0051e1 (diff) |
nicer display
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackingElement.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm index 018fefa9977..1294d8d4cbb 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackingElement.pm,v 1.53 2004/10/11 14:40:04 espie Exp $ +# $OpenBSD: PackingElement.pm,v 1.54 2004/10/12 21:05:20 espie Exp $ # # Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org> # @@ -1149,8 +1149,8 @@ sub prepare print $dest "+-------------- ", $state->{pkgname}, "\n"; while (<$src>) { next if m/^\+\-+\s*$/; - s/^\+ //; - print $dest $_; + s/^[+-] //; + print $dest "| $_"; } print $dest "+-------------- ", $state->{pkgname}, "\n"; } |