fix: switch to using GIT_DIR environment variable to fix Centos 7 support
Closes #4429
This commit is contained in:
@@ -6,9 +6,9 @@ trigger-certs-post-app-clone-setup() {
|
||||
declare desc="removes cert file when setting up a clone"
|
||||
declare trigger="post-app-clone-setup"
|
||||
declare OLD_APP="$1" NEW_APP="$2"
|
||||
local APP_DIR="$DOKKU_ROOT/$NEW_APP"
|
||||
local APP_ROOT="$DOKKU_ROOT/$NEW_APP"
|
||||
|
||||
rm -rf "$APP_DIR/tls"
|
||||
rm -rf "$APP_ROOT/tls"
|
||||
plugn trigger post-certs-remove "$NEW_APP"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user