summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2006-08-25 08:42:39 +0000
committerMarc Espie <espie@cvs.openbsd.org>2006-08-25 08:42:39 +0000
commit4deaff4fca34ec8843b35dd4b92106ed5575ce7b (patch)
treef49ed2a9869f681baddccd18cdf5a685347737a8 /usr.sbin/pkg_add
parent9f651e5d74befa22ee29c1c1deb447d44ed3cb5c (diff)
add PackingOld when replacing, helps people with really old installs...
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/pkg_add3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add
index bda21903089..e1d73008774 100644
--- a/usr.sbin/pkg_add/pkg_add
+++ b/usr.sbin/pkg_add/pkg_add
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_add,v 1.217 2006/03/04 11:31:18 espie Exp $
+# $OpenBSD: pkg_add,v 1.218 2006/08/25 08:42:38 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -92,6 +92,7 @@ sub can_install($$$)
}
require OpenBSD::Replace;
+ require OpenBSD::PackingOld;
if (is_installed($plist->pkgname()) && !$state->{forced}->{installed}) {
if (!$plist->has_new_sig($state) && !$plist->uses_old_libs()) {