From 70b5e3d0d287ca0b3a01ead28d6e7f89f24c5cf9 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 8 Jun 2019 15:53:54 +0200 Subject: [PATCH] fix: drop now unnecessary rm call in config This was used to delete an errant '*' service that was accidentally created during service deletion. That was fixed in dokku/dokku-redis#126 - and the respective PRs for each service - and is thus no longer necessary. The fix was done by utilizing pushd when iterating over folders instead of trying to get a subdirectory with a partially quoted path. Closes dokku/dokku-redis#130 --- config | 4 ---- 1 file changed, 4 deletions(-) diff --git a/config b/config index 0dd3bd0..1233c78 100644 --- a/config +++ b/config @@ -25,8 +25,4 @@ if [[ -n $DOKKU_API_VERSION ]]; then export PLUGIN_BASE_PATH="$PLUGIN_ENABLED_PATH" fi -if [[ -d "$PLUGIN_DATA_ROOT/*" ]]; then - rm -rf "${PLUGIN_DATA_ROOT:?}/*" -fi - export MONGO_CONFIG_OPTIONS=${MONGO_CONFIG_OPTIONS:=" --storageEngine wiredTiger --auth "}