if [ -z "$PKG_INSTALL_ROOT" ]; then BASE="" else BASE=${PKG_INSTALL_ROOT} fi PATH=/usr/bin:/usr/local/bin:$PATH ROOT=${BASE} # where are our install script ;-) INST_DIR=`pwd` export PATH ROOT CLIENT_BASEDIR XMLCAT=`which xmlcatalog 2>/dev/null` if [ -z "$XMLCAT" ]; then echo " WARNING: Unable to find the program 'xmlcatalog'. Have you installed the XML2 library (LNFxml2) package ? Anyway, to update your system with proper catolog informations, you should install the LNFxml2 package and execute the script: '$BASE/etc/xml/updateDocbookXmlCatalog-xsl-1.69.1.sh -r' as root. !!! " cp -p "$INST_DIR/updateXmlCatalog.sh" ${BASE}/etc/xml/updateDocbookXmlCatalog-xsl-1.69.1.sh exit 0 fi export PKG_INSTALL_ROOT ksh $INST_DIR/updateXmlCatalog.sh -r #vim:ts=4 filetype=sh