diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-02-04 23:39:17 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-02-04 23:39:17 +0000 |
commit | 7048273c59e0d32fd190ecbdad46aa75d41187a0 (patch) | |
tree | 2c6e526c40ccbb5e32f7cd80fa7351f7470a71f1 /usr.sbin | |
parent | caeb619d293d6c82c3c0893cb606a4e6e54f330f (diff) |
sort list of stuff we can't update for user display (otherwise, it's a list
of keys, so it isn't in any particularly interesting order)
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PkgAdd.pm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm index 9e378f63b28..387183c99f2 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgAdd.pm,v 1.58 2014/02/04 00:14:27 espie Exp $ +# $OpenBSD: PkgAdd.pm,v 1.59 2014/02/04 23:39:16 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org> # @@ -461,7 +461,8 @@ sub install_issues $state->fatal("can't find #1 in installation", $name); } if ($old->has_error(OpenBSD::Handle::BAD_PACKAGE)) { - $state->fatal("couldn't find packing-list for #1", $name); + $state->fatal("couldn't find packing-list for #1", + $name); } if ($old->plist->has('manual-installation')) { @@ -1006,7 +1007,8 @@ sub inform_user_of_problems $quirks->filter_obsolete(\@cantupdate, $state); }); - $state->say("Couldn't find updates for #1", join(', ', @cantupdate)); + $state->say("Couldn't find updates for #1", + join(', ', sort @cantupdate)); } if (defined $state->{issues}) { $state->say("There were some ambiguities. ". |