Changeset 16938b0 for common/libs/func_check_version.sh
- Timestamp:
- 04/13/2007 07:26:35 PM (17 years ago)
- Branches:
- 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 962793a
- Parents:
- 4a8430d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/libs/func_check_version.sh
r4a8430d r16938b0 127 127 XML_FILE="<?xml version='1.0' encoding='ISO-8859-1'?> 128 128 <?xml-stylesheet type='text/xsl' href='http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/docbook.xsl'?> 129 <!DOCTYPE article PUBLIC '-//OASIS//DTD DocBook XML V4. 4//EN'130 'http://www.oasis-open.org/docbook/xml/4. 4/docbookx.dtd'>129 <!DOCTYPE article PUBLIC '-//OASIS//DTD DocBook XML V4.5//EN' 130 'http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd'> 131 131 <article> 132 132 <title>Test file</title> … … 139 139 if [[ -z "$DEP_DBXML" ]] ; then 140 140 if `echo $XML_FILE | xmllint -noout -postvalid - 2>/dev/null` ; then 141 check_version "4. 4" "4.4" "DocBook XML DTD"141 check_version "4.5" "4.5" "DocBook XML DTD" 142 142 else 143 echo "Warning: not found a working DocBook XML DTD 4. 4installation"143 echo "Warning: not found a working DocBook XML DTD 4.5 installation" 144 144 exit 2 145 145 fi
Note:
See TracChangeset
for help on using the changeset viewer.