]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: correct the package name in ceph/admin/build-doc 14649/head
authorYu Shengzuo <yu.shengzuo@99cloud.net>
Thu, 20 Apr 2017 05:14:29 +0000 (05:14 +0000)
committerYu Shengzuo <yu.shengzuo@99cloud.net>
Thu, 20 Apr 2017 05:14:29 +0000 (05:14 +0000)
In document, it is called 'libxml2-devel', one of the dependent
package of CentOS/RHEL7. But the 'build-doc' check 'libxml-devel'.
And it id also called 'libxml2-devel' in software of yum repo .
So correct the checked package name in ceph/admin/build-doc.

Signed-off-by: Yu Shengzuo <yu.shengzuo@99cloud.net>
admin/build-doc

index 5be6f66e878c21c7de3f1ebdb85466295b65b19d..0caa048767c8ac01c06d0ed4c5c7ca8829969b75 100755 (executable)
@@ -20,7 +20,7 @@ if command -v dpkg >/dev/null; then
         exit 1
     fi
 elif command -v yum >/dev/null; then
-    for package in python-devel python-pip python-virtualenv doxygen ditaa ant libxml-devel libxslt-devel Cython graphviz; do
+    for package in python-devel python-pip python-virtualenv doxygen ditaa ant libxml2-devel libxslt-devel Cython graphviz; do
        if ! rpm -q $package >/dev/null ; then
                missing="${missing:+$missing }$package"
        fi