<commit_before>export PIHOME="/home/pi"

# Set the glint-nes branch to pull from on github if it isn't already set
  if [ -z "$GLINTNESBRANCH" ]
  then
    export GLINTNESBRANCH=master
  fi
}

# Pull down component scripts
curl -L https://raw.github.com/normalocity/glint-nes/$GLINTNESBRANCH/config/scripts/clean-pi.sh > $PIHOME/clean-pi.sh
curl -L https://raw.github.com/normalocity/glint-nes/$GLINTNESBRANCH/config/scripts/glint-nes.sh > $PIHOME/glint-nes.sh

# Run scripts
. clean-pi.sh
. glint-nes.sh

# Remove scripts
rm $PIHOME/clean-pi.sh
rm $PIHOME/glint-nes.sh

# Clear history
history -c
rm $PIHOME/.bash_history

# Clean up packages
sudo apt-get -y autoremove
sudo apt-get -y clean

# Finish
echo "\n\nRebooting...\n"
shutdown -r now<commit_msg>Corrected a syntax error in the install script.<commit_after>export PIHOME="/home/pi"

# Set the glint-nes branch to pull from on github if it isn't already set
if [ -z "$GLINTNESBRANCH" ]
then
  export GLINTNESBRANCH=master
fi

# Pull down component scripts
curl -L https://raw.github.com/normalocity/glint-nes/$GLINTNESBRANCH/config/scripts/clean-pi.sh > $PIHOME/clean-pi.sh
curl -L https://raw.github.com/normalocity/glint-nes/$GLINTNESBRANCH/config/scripts/glint-nes.sh > $PIHOME/glint-nes.sh

# Run scripts
. clean-pi.sh
. glint-nes.sh

# Remove scripts
rm $PIHOME/clean-pi.sh
rm $PIHOME/glint-nes.sh

# Clear history
history -c
rm $PIHOME/.bash_history

# Clean up packages
sudo apt-get -y autoremove
sudo apt-get -y clean

# Finish
echo "\n\nRebooting...\n"
shutdown -r now
{'fraction_non_alphanumeric': 0.12760416666666666, 'fraction_numerical': 0.0, 'mean_word_length': 3.743827160493827, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 4, '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': '441483', 'n_tokens_mistral': 599, 'n_tokens_neox': 581, 'n_words': 142}