#!/bin/bash

if [ ! -d /tmp/UnlimitedPolicy/ ]; then
    if [ $test_only -eq 0 ]; then
        mkdir /tmp/UnlimitedPolicy/
        curl -sS https://tarballs.openstack.org/sahara-extra/dist/common-artifacts/local_policy.jar -o /tmp/UnlimitedPolicy/local_policy.jar
        curl -sS https://tarballs.openstack.org/sahara-extra/dist/common-artifacts/US_export_policy.jar -o /tmp/UnlimitedPolicy/US_export_policy.jar
    else
        exit 0
    fi
fi
