Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
Ewan Mellor committed 2006-12-14 17:25:38 +00:00
1 parent 0330b1b4b8
commit 2db8f7202c
1 file changed
+4 -15
+4 -15
View File
@@ -1,19 +1,8 @@
#!/bin/bash
#!/bin/sh
# CHECK-INSTALL
RC=0
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)
' || RC=1
if test ${RC} -ne 0; then
python -c 'import xml.dom.minidom' 2>/dev/null || {
echo
echo " *** Check for python-xml package FAILED"
fi
exit ${RC}
exit 1
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.