<commit_before>#!/bin/bash
# generated installation key and server URI from install
auth_key="__SERVER_AUTHKEY_SET_ME__"
server_uri="__SERVER_URI_SET_ME__"
submit_packages_uri="${server_uri}client/send_packages.php"

#Force a run of check-in.sh if .patchrc is missing.
if [[ ! -f "/opt/patch_manager/.patchrc" ]]; then
	echo "Please run /opt/patch_manager/check-in.sh as root (sudo) before trying to run this manually"
	exit 0
fi
# load the file
. /opt/patch_manager/.patchrc
if [[ -f /etc/lsb-release ]]; then
        export os=$(lsb_release -s -d|head -1|awk {'print $1'})
elif [[ -f /etc/debian_version ]]; then
        export os="Debian $(cat /etc/debian_version)|head -1|awk {'print $1'}"
elif [[ -f /etc/redhat-release ]]; then
        export os=$(cat /etc/redhat-release|head -1|awk {'print $1'})
else
        export os="$(uname -s) $(uname -r)|head -1|awk {'print $1'}"
fi
if [ "$os" = "CentOS" ] || [ "$os" = "Fedora" ] || [ "$os" = "Red" ]; then
        data=$(rpm -qa --qf '%{NAME}:::%{VERSION}\n')<commit_msg>Correction to the Other distro check<commit_after>#!/bin/bash
# generated installation key and server URI from install
auth_key="__SERVER_AUTHKEY_SET_ME__"
server_uri="__SERVER_URI_SET_ME__"
submit_packages_uri="${server_uri}client/send_packages.php"

#Force a run of check-in.sh if .patchrc is missing.
if [[ ! -f "/opt/patch_manager/.patchrc" ]]; then
	echo "Please run /opt/patch_manager/check-in.sh as root (sudo) before trying to run this manually"
	exit 0
fi
# load the file
. /opt/patch_manager/.patchrc
if [[ -f /etc/lsb-release ]]; then
        export os=$(lsb_release -s -d|head -1|awk {'print $1'})
elif [[ -f /etc/debian_version ]]; then
        export os="Debian $(cat /etc/debian_version)|head -1|awk {'print $1'}"
elif [[ -f /etc/redhat-release ]]; then
        export os=$(cat /etc/redhat-release|head -1|awk {'print $1'})
else
        export os=$(uname -s -r|head -1|awk {'print $1'})
fi
if [ "$os" = "CentOS" ] || [ "$os" = "Fedora" ] || [ "$os" = "Red" ]; then
        data=$(rpm -qa --qf '%{NAME}:::%{VERSION}\n')
{'fraction_non_alphanumeric': 0.18549172346640702, 'fraction_numerical': 0.008763388510223954, 'mean_word_length': 3.7241379310344827, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1660211', 'n_tokens_mistral': 763, 'n_tokens_neox': 743, 'n_words': 201}