summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/pkg_delete
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-08-07 17:27:27 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-08-07 17:27:27 +0000
commit9e008ede18662aa6884720b282eb1331d69c9d14 (patch)
treeb36ab66166b49c605e5554f5f5f0bd1b81214375 /usr.sbin/pkg_add/pkg_delete
parent0e899b1d93fdc1bd2f512468a519df445aba2d0c (diff)
use chroot DESTDIR ldconfig in DESTDIR case.
Diffstat (limited to 'usr.sbin/pkg_add/pkg_delete')
-rw-r--r--usr.sbin/pkg_add/pkg_delete4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_delete b/usr.sbin/pkg_add/pkg_delete
index bcdb7aaf7e2..69fe715251c 100644
--- a/usr.sbin/pkg_add/pkg_delete
+++ b/usr.sbin/pkg_add/pkg_delete
@@ -1,6 +1,6 @@
#!/usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_delete,v 1.36 2004/08/06 14:33:02 espie Exp $
+# $OpenBSD: pkg_delete,v 1.37 2004/08/07 17:27:26 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -35,7 +35,7 @@ sub ensure_ldconfig
my $verbose = shift;
return unless defined $OpenBSD::PackingElement::Lib::todo;
print "running ldconfig -R\n" if $verbose;
- system($OpenBSD::PackingElement::Lib::ldconfig, "-R");
+ system(@OpenBSD::PackingElement::Lib::ldconfig, "-R");
undef $OpenBSD::PackingElement::Lib::todo;
}