<commit_before>#!/bin/bash

set -eu

case $(whoami) in
	root)	dst="/etc/jrevolt" ;;
	*)	    dst="$HOME/.jrevolt" ;;
esac

echo "Creating $dst directory..."
mkdir -p $dst

repo="https://raw.githubusercontent.com/jrevolt/io.jrevolt.launcher"
branch="develop"

cd $dst

echo "Downloading JRevolt Updater..."
wget -N $repo/$branch/bin/update.sh
chmod a+x update.sh<commit_msg>scripts<commit_after>#!/bin/bash

set -eu

error() {
	echo "ERROR: $*"
	exit
}

trap 'error ${LINENO}' ERR

case $(whoami) in
	root)	dst="/etc/jrevolt" ;;
	*)	    dst="$HOME/.jrevolt" ;;
esac

echo "Creating $dst directory..."
mkdir -p $dst

repo="https://raw.githubusercontent.com/jrevolt/io.jrevolt.launcher"
branch="develop"

cd $dst

echo "Downloading JRevolt Updater..."
wget -N $repo/$branch/bin/update.sh
chmod a+x update.sh
{'fraction_non_alphanumeric': 0.1843088418430884, 'fraction_numerical': 0.0, 'mean_word_length': 3.962962962962963, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '453042', 'n_tokens_mistral': 334, 'n_tokens_neox': 321, 'n_words': 69}