#ident	"@(#)pkg.frle:preinstall	1.1"
#		Copyright (c) 1990, 1991, 1992, 1993, 1994 Novell, Inc. All Rights Reserved.
#		Copyright (c) 1984, 1985, 1986, 1987, 1988, 1989, 1990 Novell, Inc. All Rights Reserved.
#		  All Rights Reserved

#		THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF Novell Inc.
#		The copyright notice above does not evidence any
#		actual or intended publication of such source code.


SCRIPTS=/usr/sbin/pkginst
PKGINSTALL_TYPE=NEWINSTALL

# Since there is no response file, pkgsavfiles will automatically
# run chkpkgrel and save AUTOMERGE and PKGINSTALL_TYPE in
# /etc/inst/save.user/${PKGINST}.env

${SCRIPTS}/pkgsavfiles ${PKGINST}

# When pkgsavfiles is called without previously calling chkpkgrel,
# AUTOMERGE get set to "Yes" automatically, which we don't want since
# this package didn't exist in 1.1.  (The postinstall script takes
# care of special upgrade processing in this case.)

echo "AUTOMERGE=No" >>/etc/inst/save.user/${PKGINST}.env
