From a8327c91004d7ea27373e86debc500f7ad726941 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 eee7a08..d6cbf85 100755 --- a/config +++ b/config @@ -24,7 +24,3 @@ export PLUGIN_BASE_PATH="$PLUGIN_PATH" 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