<commit_before>#!/bin/bash

cat > prismbreak-ng2.sh <<'CATEND'
#!/bin/bash

dialog --msgbox "Install Grub\n\nIn the next step, grub will be installed." 15 40
pacman -S --noconfirm sudo grub bash-completion os-prober ntp joe
#read
echo
echo Press Return...
echo
read

dialog --msgbox "Configure Grub\n\nIn the next step, Grub will be configured." 15 40
grub-install --target=i386-pc --recheck /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
#read

echo
echo Press Return...
echo
read

exit
CATEND

cat > prismbreak-ng3.sh <<'CATEND2'
#!/bin/bash

dialog --msgbox "Configure basesystem\n\nIn the next step, the basesystem will be configured." 15 40

server_locale=$(dialog --stdout --inputbox "Please enter the locale you want to use" 15 40 "de_DE.UTF-8 UTF-8")
echo $server_locale >> /etc/locale.gen
locale-gen
localectl set-locale LANG="$server_locale"

echo<commit_msg>added yaourt and jdk installation<commit_after>#!/bin/bash

cat > prismbreak-ng2.sh <<'CATEND'
#!/bin/bash

dialog --msgbox "Install Grub\n\nIn the next step, grub will be installed." 15 40
pacman -S --noconfirm sudo grub bash-completion os-prober ntp joe diffutils gettext curl yajl wget
mkdir aur
cd aur
wget https://aur.archlinux.org/packages/pa/package-query/package-query.tar.gz
tar -xzvf package-query.tar.gz
cd package-query
makepkg -s --asroot
pacman -U --noconfirm package-query-*.tar.xz
cd ..

wget https://aur.archlinux.org/packages/ya/yaourt/yaourt.tar.gz
tar -xzvf yaourt.tar.gz
cd yaourt
makepkg -s --asroot
pacman -U yaourt-*.tar.xz

yaourt -S --noconfirm --tmp . jdk

# install wildfly

#read
echo
echo Press Return...
echo
read

dialog --msgbox "Configure Grub\n\nIn the next step, Grub will be configured." 15 40
grub-install --target=i386-pc --recheck /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
#read

echo
echo Press Return...
echo
read

exit
CATEND

cat > prismbreak-ng3.sh <<'CATEND2'
#!/bin/bash

dialog --msgbox "Configure basesystem\n\nIn the next step, the basesystem will be configured." 15 40

server_locale=$(dialog --stdout --inputbox "Please enter the locale you want to use" 15 40 "de_DE.UTF-8 UTF-8")
echo $server_locale >> /etc/locale.gen
locale-gen
localectl set-locale LANG="$server_locale"

echo
{'fraction_non_alphanumeric': 0.12528370403994554, 'fraction_numerical': 0.021788470267816613, 'mean_word_length': 3.739784946236559, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 2, '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': '1498095', 'n_tokens_mistral': 873, 'n_tokens_neox': 789, 'n_words': 255}