⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install

📁 opennms得相关源码 请大家看看
💻
字号:
#!/bin/bash# To "install" this release, execute this INSTALL file by running# the following command:##   sh INSTALL## That creates a 'catalog.xml' file in the current directory and# generates some further instructions.# code starts hereif [ ! "$(xmlcatalog)" ]; then  cat <<- EOF$0: Error: Failed to find 'xmcatalog' command. Stopping.You must have libxml2 and its associated 'xmlcatalog' utilityon your system in order to create and use an XML catalog for thisrelease. For more information about libxml2, see:  http://xmlsoft.org/EOF  exit 1fiCATALOG=catalog.xmlURI=http://docbook.sourceforge.net/release/xsl/current/DIR=`pwd`rm -f $CATALOGxmlcatalog --noout --create $CATALOG || exit 1xmlcatalog --noout --add rewriteURI $URI $DIR/ $CATALOG || exit 1xmlcatalog --noout --add rewriteSystem $URI $DIR/ $CATALOG || exit 1xmlcatalog --noout --add delegateURI $URI $DIR/$CATALOG $DIR/$CATALOG || exit 1xmlcatalog --noout --add delegateSystem $URI $DIR/$CATALOG $DIR/$CATALOG || exit 1if [ -n "$XML_CATALOG_FILES" ]; then  # if $XML_CATALOG_FILES already contains the filename for the  # catalog we are creating, remove that filename  if [ "$XML_CATALOG_FILES"//$DIR\/$CATALOG// != "$XML_CATALOG_FILES" ]; then    export XML_CATALOG_FILES="`echo $XML_CATALOG_FILES | sed "s#$DIR/$CATALOG *##"`";  fielse  XML_CATALOG_FILES=/etc/xml/catalogfiJAVA_CATALOGS=`echo $XML_CATALOG_FILES | tr " " ";"`cat <<- EOF 1. Now edit either your ~/.bash_profile or ~/.cshrc file so it    sets the XML_CATALOG_FILES environment variable to include    $DIR/$CATALOG as its first item; example:      # set XML_CATALOG_FILES for bash/ksh shell      export XML_CATALOG_FILES="$DIR/$CATALOG $XML_CATALOG_FILES"    IMPORTANT: Separate filenames in XML_CATALOG_FILES with spaces 2. If you have a CatalogManager.properties file, change the    "catalogs=" line in that file to something like:      catalogs=$DIR/$CATALOG;$JAVA_CATALOGS    IMPORTANT: In that file, separate filenames with a SEMICOLON.    Also, make sure that your Java CLASSPATH contains the pathname    to the _directory_ containing CatalogManager.properties file. 3. If you're using a stylesheet customization layer, make sure    that it references the canonical URI for the DocBook    stylesheets; for example, use an xsl:import like this:      <xsl:import href="${URI}html/chunk.xsl"/>EOF

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -