<commit_before>// Package install provide features to download and install profiles
package install

import (
	"fmt"
	"io"
	"io/ioutil"
	"net/http"
	"os"
	"path/filepath"
	"regexp"
	"runtime"
	"strings"

	progress "github.com/danielsoro/tomee-cli/util/progress"
	zip "github.com/danielsoro/tomee-cli/util/zip"
)

// Install an specif version of a profile in an path
func Install(tomeePath, dist string, version string) error {
	archiveURL, err := fetchArchiveURL(dist, version)
	if err != nil {<commit_msg>Update install.go<commit_after>// Package install provide features to download and install profiles
package install

import (
	"fmt"
	"io"
	"io/ioutil"
	"net/http"
	"os"
	"path/filepath"
	"regexp"
	"runtime"
	"strings"

	"github.com/danielsoro/tomee-cli/util/progress"
	"github.com/danielsoro/tomee-cli/util/zip"
)

// Install an specif version of a profile in an path
func Install(tomeePath, dist string, version string) error {
	archiveURL, err := fetchArchiveURL(dist, version)
	if err != nil {
{'fraction_non_alphanumeric': 0.12063808574277168, 'fraction_numerical': 0.0, 'mean_word_length': 4.4863387978142075, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4467752', 'n_tokens_mistral': 368, 'n_tokens_neox': 363, 'n_words': 99}