diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-05-30 11:40:08 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-05-30 11:40:08 +0000 |
commit | 6ba0d1db64d5ba6d787cfdc1000d781b4a9ffa1d (patch) | |
tree | bec193c643984538956059b10b33be7abafcbd65 /usr.sbin/pkg_add/OpenBSD/Add.pm | |
parent | bef77969179309cc388115cbcafbc28569a546ee (diff) |
slightly better control over partial installations (still preparing for
bigger sets)
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Add.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Add.pm | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Add.pm b/usr.sbin/pkg_add/OpenBSD/Add.pm index 4ead84d8d46..3f4da7dc96a 100644 --- a/usr.sbin/pkg_add/OpenBSD/Add.pm +++ b/usr.sbin/pkg_add/OpenBSD/Add.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Add.pm,v 1.61 2007/05/30 11:13:35 espie Exp $ +# $OpenBSD: Add.pm,v 1.62 2007/05/30 11:40:07 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -100,15 +100,6 @@ sub record_partial_installation return $borked; } -sub borked_installation -{ - my ($plist, $not, @msg) = @_; - - Fatal @msg if $not; - my $borked = record_partial_installation($plist); - Fatal @msg, ", partial installation recorded as $borked"; -} - # used by newuser/newgroup to deal with options. package OpenBSD::PackingElement; use OpenBSD::Error; |