<commit_before>#!/bin/bash
### Author : <NAME>
### Purpose: Easy installation of needed software for our project that is part of the linux system rather than our own project



echo "#################################################################"
echo "Installing Erlang"
echo "#################################################################"
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb
rm -f erlang-solutions_1.0_all.deb

wget http://packages.erlang-solutions.com/debian/erlang_solutions.asc
sudo apt-key add erlang_solutions.asc
rm -f erlang_solutions.asc

sudo apt-get update
sudo apt-get install erlang

### Install Emacs erlang-mode
sudo apt-get install erlang-mode<commit_msg>Fixed erlang install script, it didn't work properly before. Now it seems to work properly<commit_after>#!/bin/bash
### Author : <NAME>
### Purpose: Easy installation of needed software for our project that is part of the linux system rather than our own project



echo "#################################################################"
echo "Installing Erlang"
echo "#################################################################"
grep -q -e 'deb http://packages.erlang-solutions.com/debian '$(lsb_release -sc)' contrib' /etc/apt/sources.list || echo 'deb http://packages.erlang-solutions.com/debian '$(lsb_release -sc)' contrib' >> /etc/apt/sources.list
sudo wget http://packages.erlang-solutions.com/debian/erlang_solutions.asc
sudo apt-key add erlang_solutions.asc
rm -f erlang_solutions.asc

sudo apt-get update
sudo apt-get install -y erlang

### Install Emacs erlang-mode
sudo apt-get install erlang-mode
{'fraction_non_alphanumeric': 0.2474596533173939, 'fraction_numerical': 0.0035863717872086074, 'mean_word_length': 5.696, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 1, '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': '6674429', 'n_tokens_mistral': 507, 'n_tokens_neox': 464, 'n_words': 144}