mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Add another package check (python-xml).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
This commit is contained in:
1 parent
265f7f57f6
commit
96134532ec
2 files changed
+21
-1
No files matched your search
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
# CHECK-INSTALL
|
||||
|
||||
function error {
|
||||
echo
|
||||
echo " *** Check for python-xml package FAILED"
|
||||
exit 1
|
||||
}
|
||||
|
||||
python -c '
|
||||
import os.path, sys
|
||||
for p in sys.path:
|
||||
if os.path.exists(p + "/xml/dom/minidom.py"):
|
||||
sys.exit(0)
|
||||
sys.exit(1)
|
||||
' || error
|
||||