diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2004-09-17 08:49:18 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2004-09-17 08:49:18 +0000 |
commit | 9a9f63acfa5f59e7a3990a8e27c520008785e9b2 (patch) | |
tree | c835a523eca7b48a820a6c54060dc7c093a4eb88 /usr.sbin/pkg_add/pkg_create | |
parent | 294fa3de1ec76d18d6b7fe4e961f7ae2f09b567b (diff) |
warn for dirrm.
Diffstat (limited to 'usr.sbin/pkg_add/pkg_create')
-rw-r--r-- | usr.sbin/pkg_add/pkg_create | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/pkg_create b/usr.sbin/pkg_add/pkg_create index 347f371c01b..5c6f440dc4e 100644 --- a/usr.sbin/pkg_add/pkg_create +++ b/usr.sbin/pkg_add/pkg_create @@ -1,6 +1,6 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: pkg_create,v 1.17 2004/09/15 18:54:17 espie Exp $ +# $OpenBSD: pkg_create,v 1.18 2004/09/17 08:49:17 espie Exp $ # # Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org> # @@ -58,6 +58,17 @@ sub archive_cmd return (); } +package OpenBSD::PackingElement::DirRm; +my $warned; + +sub compute_checksum +{ + if (!$warned) { + print STDERR "Warning: \@dirrm is deprecated\n"; + $warned=1; + } +} + package OpenBSD::PackingElement; sub compute_checksum |