#!/bin/bash

if [ ! -d /tmp/UnlimitedPolicy/ ]; then
    if [ $test_only -eq 0 ]; then
        mkdir /tmp/UnlimitedPolicy/
        wget https://tarballs.openstack.org/sahara-extra/dist/common-artifacts/local_policy.jar -O /tmp/UnlimitedPolicy/local_policy.jar
        wget 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
