Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc replace "pkg_dbdir" with "pkgdb_dir", to be consistent w...



details:   https://anonhg.NetBSD.org/src/rev/00cae15cf344
branches:  trunk
changeset: 515723:00cae15cf344
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Oct 03 15:41:25 2001 +0000

description:
replace "pkg_dbdir" with "pkgdb_dir", to be consistent with "backup_dir"

diffstat:

 etc/defaults/security.conf |  4 ++--
 etc/security               |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (50 lines):

diff -r a2561e0f161d -r 00cae15cf344 etc/defaults/security.conf
--- a/etc/defaults/security.conf        Wed Oct 03 14:33:49 2001 +0000
+++ b/etc/defaults/security.conf        Wed Oct 03 15:41:25 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: security.conf,v 1.7 2001/10/01 02:21:20 atatat Exp $
+#      $NetBSD: security.conf,v 1.8 2001/10/03 15:41:26 lukem Exp $
 #
 # /etc/defaults/security.conf --
 #      default configuration of /etc/security.conf
@@ -26,7 +26,7 @@
 
 backup_dir=/var/backups
 backup_uses_rcs=YES
-pkg_dbdir=/var/db/pkg
+pkgdb_dir=/var/db/pkg
 
 max_loginlen=8
 max_grouplen=8
diff -r a2561e0f161d -r 00cae15cf344 etc/security
--- a/etc/security      Wed Oct 03 14:33:49 2001 +0000
+++ b/etc/security      Wed Oct 03 15:41:25 2001 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: security,v 1.64 2001/10/03 07:04:32 cjs Exp $
+#      $NetBSD: security,v 1.65 2001/10/03 15:41:25 lukem Exp $
 #      from: @(#)security      8.1 (Berkeley) 6/9/93
 #
 
@@ -50,7 +50,7 @@
 # Handle backup_dir not being set in .conf file
 backup_dir=${backup_dir:-/var/backups}
 CHANGELIST=""
-pkg_dbdir=${pkg_dbdir:-/var/db/pkg}
+pkgdb_dir=${pkgdb_dir:-/var/db/pkg}
 
 MP=/etc/master.passwd
 
@@ -680,9 +680,9 @@
 
 # Check for changes in the list of installed pkgs
 #
-if checkyesno check_pkgs && [ -d $pkg_dbdir ]; then
+if checkyesno check_pkgs && [ -d $pkgdb_dir ]; then
        pkgs=$backup_dir/pkgs
-       (       cd $pkg_dbdir
+       (       cd $pkgdb_dir
                pkg_info | sort
                echo ""
                find . \( -name +REQUIRED_BY -o -name +CONTENTS \) -print0 |



Home | Main Index | Thread Index | Old Index