summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/PackingList.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-08-06 10:23:46 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-08-06 10:23:46 +0000
commitba3af0779def6fb183b449b240d3b6c4030fe8cf (patch)
tree7536bf12b5537510aa85e648fb9aa4340c0e9ead /usr.sbin/pkg_add/OpenBSD/PackingList.pm
parentbfcc24134d00b8cc1c374b46ca0a73362c969aa8 (diff)
@lib shared library marker.
- runs ldconfig to find out search library path. - if library is in path, mark directory for updating cache. - run ldconfig when needed, e.g., right before executing something that might depend on the library. Doesn't handle destdir case yet.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackingList.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackingList.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingList.pm b/usr.sbin/pkg_add/OpenBSD/PackingList.pm
index bb72c151981..bb650a2dff5 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackingList.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackingList.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: PackingList.pm,v 1.20 2004/08/06 08:06:01 espie Exp $
+# $OpenBSD: PackingList.pm,v 1.21 2004/08/06 10:23:45 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -75,7 +75,7 @@ sub FilesOnly
my ($fh, $cont) = @_;
local $_;
while (<$fh>) {
- next unless m/^\@(?:cwd|name|info|man|file)\b/ || !m/^\@/;
+ next unless m/^\@(?:cwd|name|info|man|file|lib)\b/ || !m/^\@/;
&$cont($_);
}
}