Source-Changes-HG archive

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

[src/trunk]: src/etc now that the obsolete lists are part of the "base" set (...



details:   https://anonhg.NetBSD.org/src/rev/3efbd539618d
branches:  trunk
changeset: 543310:3efbd539618d
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat Feb 22 23:46:46 2003 +0000

description:
now that the obsolete lists are part of the "base" set (instead of "etc"),
only look for them in ${DEST_DIR}/var/db/obsolete

diffstat:

 etc/postinstall |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (24 lines):

diff -r cd7b44e0b264 -r 3efbd539618d etc/postinstall
--- a/etc/postinstall   Sat Feb 22 23:39:54 2003 +0000
+++ b/etc/postinstall   Sat Feb 22 23:46:46 2003 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: postinstall,v 1.53 2003/02/22 03:20:46 lukem Exp $
+# $NetBSD: postinstall,v 1.54 2003/02/22 23:46:46 lukem Exp $
 #
 # Copyright (c) 2002-2003 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -628,11 +628,7 @@
 
        failed=0
 
-       find_file_in_dirlist base "obsolete set lists" \
-           ${SRC_DIR}/var/db/obsolete ${DEST_DIR}/var/db/obsolete \
-           || return 1
-
-       for obssrcfile in ${dir}/*; do
+       for obssrcfile in ${DEST_DIR}/var/db/obsolete/*; do
                while read ofile; do
                        ofile=${DEST_DIR}${ofile#.}
                        cmd="rm"



Home | Main Index | Thread Index | Old Index