summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/Delete.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2008-03-08 11:41:43 +0000
committerMarc Espie <espie@cvs.openbsd.org>2008-03-08 11:41:43 +0000
commitbe80e263ef76a0d346d1e751cede81f67c3aafc7 (patch)
tree27c3609a86cc833b39007ec807680e276c2c0785 /usr.sbin/pkg_add/OpenBSD/Delete.pm
parent4dcc11f506add98fccd7b9eeea0132983e3951e0 (diff)
tweak messages mentioning checksums so that they mention checksums, not
specifics like md5, since that's likely to change.
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;
}