ia64/xen-unstable

view tools/check/check_python_xml @ 13028:70155087efe8

Add another package check (python-xml).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
author kfraser@localhost.localdomain
date Thu Dec 14 14:13:18 2006 +0000 (2006-12-14)
parents
children 664e762a10e8
line source
1 #!/bin/bash
2 # CHECK-INSTALL
4 function error {
5 echo
6 echo " *** Check for python-xml package FAILED"
7 exit 1
8 }
10 python -c '
11 import os.path, sys
12 for p in sys.path:
13 if os.path.exists(p + "/xml/dom/minidom.py"):
14 sys.exit(0)
15 sys.exit(1)
16 ' || error