mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
17 lines
257 B
Bash
Executable File
17 lines
257 B
Bash
Executable File
#!/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
|