|
|
@ -2698,10 +2698,6 @@ export -f cached_wget |
|
|
|
trap_add "EXIT" clean_cache |
|
|
|
|
|
|
|
|
|
|
|
# if [[ "$UID" != 0 ]]; then |
|
|
|
# die "'$exname' requires root permissions (for now). Please run as root." |
|
|
|
# fi |
|
|
|
|
|
|
|
|
|
|
|
if [ -z "$DISABLE_SYSTEM_CONFIG_FILE" ]; then |
|
|
|
if [ -r /etc/default/charm ]; then |
|
|
@ -2907,8 +2903,6 @@ aexport remainder_args |
|
|
|
## Actual code |
|
|
|
## |
|
|
|
|
|
|
|
export DOCKER_DATASTORE=${DOCKER_DATASTORE:-/srv/docker-datastore} |
|
|
|
|
|
|
|
|
|
|
|
COMPOSE_YML_FILE=$(get_compose_yml_location) || exit 1 |
|
|
|
COMPOSE_YML_CONTENT=$(get_compose_yml_content) || exit 1 |
|
|
|