Among the many things postinstall should check are up to date is... postinstall
This commit is contained in:
parent
0c18ab1d39
commit
cb588f7bde
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: postinstall,v 1.48 2003/01/16 15:26:14 minoura Exp $
|
||||
# $NetBSD: postinstall,v 1.49 2003/01/21 14:28:55 abs Exp $
|
||||
#
|
||||
# Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||
# All rights reserved.
|
||||
|
@ -288,6 +288,23 @@ find_file_in_dirlist()
|
|||
# -----
|
||||
#
|
||||
|
||||
#
|
||||
# rc
|
||||
#
|
||||
additem postinstall "/etc/postinstall being up to date"
|
||||
do_postinstall()
|
||||
{
|
||||
[ -n "$1" ] || err 2 "USAGE: do_postinstall fix|check"
|
||||
op=$1
|
||||
failed=0
|
||||
|
||||
compare_dir ${op} ${SRC_DIR}/etc ${DEST_DIR}/etc 555 \
|
||||
postinstall
|
||||
failed=$(( ${failed} + $? ))
|
||||
|
||||
return ${failed}
|
||||
}
|
||||
|
||||
#
|
||||
# defaults
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue