<commit_before>#!/bin/bash

if [ "$(id -u)" != "0" ]; then
    echo "This script must be run as root"
    exit 1
fi

echo "Installing vbox guest additions"
apt-get install build-essential module-assistant &&
m-a prepare &&
mount /media/cdrom
sh /media/cdrom/VBoxLinuxAdditions.run

<commit_msg>Revert "Remove restriction to succesfully mount guest additions. Some desktops (ex. gnome) will mount disk when it's inserted so additional mount will fail with error 'already mounted' and whole process won't succed despite it still can."<commit_after>#!/bin/bash

if [ "$(id -u)" != "0" ]; then
    echo "This script must be run as root"
    exit 1
fi

echo "Installing vbox guest additions"
apt-get install build-essential module-assistant &&
m-a prepare &&
mount /media/cdrom &&
sh /media/cdrom/VBoxLinuxAdditions.run


{'fraction_non_alphanumeric': 0.1090686274509804, 'fraction_numerical': 0.004901960784313725, 'mean_word_length': 4.04320987654321, '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': '3503213', 'n_tokens_mistral': 274, 'n_tokens_neox': 252, 'n_words': 99}