if [ -f ${REQDIR}/inst/locale/${LOCALE}/$PKGMSG} -a \
-d ${ROOT}/usr/lib/locale/${LOCALE}/LC_MESSAGES ]
then
cp ${REQDIR}/inst/locale/${LOCALE}/${PKGMSG} \
${LC_MESSAGES}/LC_MESSAGES
fi
fi
FAIL_INST=`pfmt -s ERROR -g ${PKGMSG}:2 "The installation cannot be completed due to an error in the driver installation during the installation of the %s module. The file %s contains the errors." "${PKGINST}" "${ERR}" 2>&1`
FAILURE=1 # fatal error
CONFDIR=/etc/conf
CONFBIN=${CONFDIR}/bin
ERR=/tmp/err.out
cd /tmp/${PKGINST}
[ -f /tmp/${PKGINST}/Driver.o ] || do_extract
do_install ${PKGINST}
if test -f /bin/grep
then
grep $PKGINST /etc/loadmods >/dev/null
[ $? -ne 0 ] &&
cat /tmp/$PKGINST/loadmods >>/etc/loadmods
else
cat /tmp/$PKGINST/loadmods >>/etc/loadmods
fi
# Register changes made to system into the contents file