<commit_before>#!/usr/bin/env bash

#Check if Script run as root
if [[ $(id -u) != 0 ]]; then
	echo -e "\n[!] Setup script needs to run as root.\n\n"
	exit 0
fi

echo -e "\n[*] Starting nullinux setup script"

echo -e "[*] Checking for Python 2.7..."
if [[ $(python2.7 -V 2>&1) == *"not found"* ]]
then
    echo -e "[*] Installing Python 2.7"
    apt-get install python2.7 -y
else
    echo "[+] Python 2.7 installed"
fi

echo -e "[*] Checking for smbclient..."
if [[ $(smbclient -V 2>&1) == *"not found"* ]]
then
    echo -e "[*] Installing smbclient"
    apt-get install smbclient -y
else
    echo "[+] smbclient installed"
fi

echo -e "\n[*] nullinux setup complete\n\n"<commit_msg>nullinux updates<commit_after>#!/usr/bin/env bash

#Check if Script run as root
if [[ $(id -u) != 0 ]]; then
	echo -e "\n[!] Setup script needs to run as root\n\n"
	exit 0
fi

echo -e "\n[*] Starting nullinux setup script"

echo -e "[*] Checking for Python 2.7"
if [[ $(python2.7 -V 2>&1) == *"not found"* ]]
then
    echo -e "[*] Installing Python 2.7"
    apt-get install python2.7 -y
else
    echo "[+] Python 2.7 installed"
fi

echo -e "[*] Checking for smbclient"
if [[ $(smbclient -V 2>&1) == *"not found"* ]]
then
    echo -e "[*] Installing smbclient"
    apt-get install smbclient -y
else
    echo "[+] smbclient installed"
fi

echo -e "\n[*] nullinux setup complete\n\n"
{'fraction_non_alphanumeric': 0.1810850439882698, 'fraction_numerical': 0.02346041055718475, 'mean_word_length': 3.002932551319648, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '2414604', 'n_tokens_mistral': 550, 'n_tokens_neox': 522, 'n_words': 184}