[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] yet another package check (take 2)



>How about
>
>if ! python -c 'import xml.dom.minidom' 2>/dev/null ; then
>  echo
>  echo " *** Check for python development environment FAILED"
>  exit 1
>else
>  exit 0
>fi

Why not - I didn't invent the other method, I just cloned what we had for
python-devel (which in turn I created based on suggestions from you and
others). I'm not a python person at all, I just want understandable error
messages when dependencies are missing instead of cryptic ones.

Jan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.