21 lines
810 B
Bash
Executable File
21 lines
810 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#git is needed for the git repos
|
|
apt install git --yes
|
|
#install pip3, needed for additional python modules
|
|
apt install --yes python3-pip
|
|
apt install --yes python3.11-venv
|
|
# Install the Luakit browser (used for pep tools)
|
|
apt install --yes luakit
|
|
|
|
# This will install hblock - a local ad-blocker utility
|
|
# https://github.com/hectorm/hblock
|
|
# This does not enable it. The user has the choice to turn it on
|
|
# by enabling it in PepHub or by typing 'hblock -S builtin' in terminal
|
|
curl https://raw.githubusercontent.com/hectorm/hblock/master/hblock --output /tmp/hblock
|
|
[ "$(sha256sum /tmp/hblock)" == "4031d86cd04fd7c6cb1b7e9acb1ffdbe9a3f84f693bfb287c68e1f1fa2c14c3b" ]
|
|
mv /tmp/hblock /usr/local/bin/hblock
|
|
chown 0:0 /usr/local/bin/hblock
|
|
chmod 755 /usr/local/bin/hblock
|
|
hblock -S none -D none exit 0
|