<commit_before>#!/bin/bash

latest="v4.22-9634-beta-2016.11.27"
lateststable="v4.20-9608-rtm-2016.04.17"
installURL="http://www.softether-download.com/files/softether/"
installURLPath='-tree/Linux/SoftEther_VPN_Server/'


if [[ $EUID -ne 0 ]]; then
   echo "Please run me as a root/sudo'ed user, exiting." 
   exit 1
fi

echo "
####################################################
#	SoftEther Install Script
####################################################

	Heavily Modified By: Munzy
	Original Script By: AhmadShamli

####################################################
#	Select Architectures
####################################################

	1. Intel x64/AMD64 	(64bit)
	2. Intel x86 		(32bit)
	3. ARM EABI 		(32bit)

"

read -p "Please choose from the above options:
" installArchINPUT </dev/tty

echo "
####################################################
#	Operating Systems
####################################################

	1. Debian/Ubuntu
	2. CentOS/Fedora
	
"

read -p "Please choose your current operating system:
" installOSINPUT </dev/tty

echo "
####################################################
#	Build
####################################################

	1. Stable
	2. Newest (alpha, beta, release canidates)
	
"

read -p "Please choose the build type you would like:
" installBuildINPUT </dev/tty

clear


installOPENSSL=`openssl version`
if [[ ${installOPENSSL} == "OpenSSL 1.1.*" ]];then
    echo "Error! Maybe bad SSL version."
fi

if [[ ${installArchINPUT} == 1 ]]; then
	installArchLong="64bit_-_Intel_x64_or_AMD64"
	installArchShort="x64-64bit"	
elif [[ ${installArchINPUT} == 2 ]]; then
	installArchLong="32bit_-_Intel_x86"
	installArchShort="x86-32bit"
elif [[ ${installArchINPUT} == 3 ]]; then
	installArchLong="32bit_-_ARM_EABI"
	installArchShort="arm_eabi-32bit"
else
	echo "Architecture wasn't properly selected, exiting."
	exit 1
fi


if [[ ${installOSINPUT} == 1 ]]; then
	installOS='deb'
	apt-get update
	apt-get install build-essential -y
	apt-get install wget -y
elif [[ ${installOSINPUT} == 2 ]]; then
	installOS='cent'
	yum install gcc make -y
    yum install wget -y
else
	echo "OS wasn't properly selected, exiting."
	exit 1
fi

<commit_msg>Removed patches.<commit_after>#!/bin/bash

latest="v4.22-9634-beta-2016.11.27"
lateststable="v4.20-9608-rtm-2016.04.17"
installURL="http://www.softether-download.com/files/softether/"
installURLPath='-tree/Linux/SoftEther_VPN_Server/'


if [[ $EUID -ne 0 ]]; then
   echo "Please run me as a root/sudo'ed user, exiting." 
   exit 1
fi

echo "
####################################################
#	SoftEther Install Script
####################################################

	Heavily Modified By: Munzy
	Original Script By: AhmadShamli

####################################################
#	Select Architectures
####################################################

	1. Intel x64/AMD64 	(64bit)
	2. Intel x86 		(32bit)
	3. ARM EABI 		(32bit)

"

read -p "Please choose from the above options:
" installArchINPUT </dev/tty

echo "
####################################################
#	Operating Systems
####################################################

	1. Debian/Ubuntu
	2. CentOS/Fedora
	
"

read -p "Please choose your current operating system:
" installOSINPUT </dev/tty

echo "
####################################################
#	Build
####################################################

	1. Stable
	2. Newest (alpha, beta, release canidates)
	
"

read -p "Please choose the build type you would like:
" installBuildINPUT </dev/tty

clear

if [[ ${installArchINPUT} == 1 ]]; then
	installArchLong="64bit_-_Intel_x64_or_AMD64"
	installArchShort="x64-64bit"	
elif [[ ${installArchINPUT} == 2 ]]; then
	installArchLong="32bit_-_Intel_x86"
	installArchShort="x86-32bit"
elif [[ ${installArchINPUT} == 3 ]]; then
	installArchLong="32bit_-_ARM_EABI"
	installArchShort="arm_eabi-32bit"
else
	echo "Architecture wasn't properly selected, exiting."
	exit 1
fi


if [[ ${installOSINPUT} == 1 ]]; then
	installOS='deb'
	apt-get update
	apt-get install build-essential -y
	apt-get install wget -y
elif [[ ${installOSINPUT} == 2 ]]; then
	installOS='cent'
	yum install gcc make -y
    yum install wget -y
else
	echo "OS wasn't properly selected, exiting."
	exit 1
fi


{'fraction_non_alphanumeric': 0.29758838679466165, 'fraction_numerical': 0.03793022711308827, 'mean_word_length': 5.155619596541786, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2294728', 'n_tokens_mistral': 1497, 'n_tokens_neox': 1325, 'n_words': 345}