summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/Delete.pm
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Delete.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Delete.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Delete.pm b/usr.sbin/pkg_add/OpenBSD/Delete.pm
index 9c663d72a36..65394299e29 100644
--- a/usr.sbin/pkg_add/OpenBSD/Delete.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Delete.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Delete.pm,v 1.72 2008/03/03 16:48:32 espie Exp $
+# $OpenBSD: Delete.pm,v 1.73 2008/03/08 11:41:42 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -396,17 +396,17 @@ sub delete
unless (defined($self->{link}) or $self->{nochecksum} or $state->{quick}) {
if (!defined $self->{md5}) {
print "Problem: ", $self->fullname,
- " does not have an md5 checksum\n";
+ " does not have a checksum\n";
print "NOT deleting: $realname\n";
- $state->print("Couldn't delete $realname (no md5)\n");
+ $state->print("Couldn't delete $realname (no checksum)\n");
return;
}
my $md5 = OpenBSD::md5::fromfile($realname);
if ($md5 ne $self->{md5}) {
- print "Problem: md5 doesn't match for ",
+ print "Problem: checksum doesn't match for ",
$self->fullname, "\n";
print "NOT deleting: $realname\n";
- $state->print("Couldn't delete $realname (bad md5)\n");
+ $state->print("Couldn't delete $realname (bad checksum)\n");
$self->do_not_delete($state);
return;
}
@@ -505,7 +505,7 @@ sub delete
}
if (!defined $orig->{md5}) {
- $state->print("Couldn't delete $realname (no md5)\n");
+ $state->print("Couldn't delete $realname (no checksum)\n");
return;
}