fix: switch to using GIT_DIR environment variable to fix Centos 7 support
Closes #4429
This commit is contained in:
1 parent
3c47971c61
commit
64b1a54cad
6 files changed
+74
-47
No files matched your search
@@ -7,10 +7,10 @@ trigger-nginx-vhosts-post-app-clone-setup() {
|
||||
declare desc="removes nginx files 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"
|
||||
|
||||
fn-plugin-property-clone "nginx" "$OLD_APP" "$NEW_APP"
|
||||
rm -rf "$APP_DIR/nginx.conf"
|
||||
rm -rf "$APP_ROOT/nginx.conf"
|
||||
}
|
||||
|
||||
trigger-nginx-vhosts-post-app-clone-setup "$@"
|
||||
Reference in new issue
Block a user