#!/bin/sh # Openstack-dashboard is dependency for horizon-plugins # which are copying their enabled, local_settings.d, policy files # to /etc/openstack-dashboard location. # # We should guarantee that this locations exists when # plugins and openstack-dashboard are going to be unpacked. CONFIG_PATHS="local_settings.d enabled policy" for i in $CONFIG_PATHS; do if [ ! -e /etc/openstack-dashboard/${i} ]; then mkdir -p /etc/openstack-dashboard/${i} fi done exit 0