diff --git a/plugins/git/post-app-clone-setup b/plugins/git/post-app-clone-setup index d0ac99144..04d9c5855 100755 --- a/plugins/git/post-app-clone-setup +++ b/plugins/git/post-app-clone-setup @@ -15,7 +15,7 @@ trigger-git-post-app-clone-setup() { fn-plugin-property-clone "git" "$OLD_APP" "$NEW_APP" pushd "$DOKKU_ROOT/$OLD_APP/." >/dev/null - find ./* \( -name ".cache" -o -name "cache" \) -prune -o -print | cpio -pdmu --quiet "$DOKKU_ROOT/$NEW_APP" + find ./* \( -name ".cache" -o -name "cache" -o -name "VHOST" \) -prune -o -print | cpio -pdmu --quiet "$DOKKU_ROOT/$NEW_APP" popd &>/dev/null || pushd "/tmp" >/dev/null }