Commit 88c8edea authored by David Johnson's avatar David Johnson

Ensure we have python-m2crypto ; stall until we have it.

parent 91623487
......@@ -174,6 +174,14 @@ if [ $GENIUSER -eq 1 ]; then
dpkg -s python-m2crypto >/dev/null 2>&1
if [ ! $? -eq 0 ]; then
apt-get install python-m2crypto
# Keep trying again with updated cache forever;
# we must have this package.
success=$?
while [ ! $success -eq 0 ]; do
apt-get update
apt-get install python-m2crypto
success=$?
done
fi
if [ ! -e $OURDIR/geni.key ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment