2023-07-11 06:48:53 +00:00
|
|
|
#!/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
|
|
|
|
# Install Plank
|
|
|
|
apt install --yes plank
|
2023-09-14 11:57:24 +00:00
|
|
|
|
2023-07-11 06:48:53 +00:00
|
|
|
# set the plymouth on boot
|
|
|
|
plymouth-set-default-theme -R lines
|
|
|
|
|
2023-09-14 11:57:24 +00:00
|
|
|
# install the re keyring
|
|
|
|
dpkg -i /opt/pepconf/deb-multimedia-keyring_2016.8.1_all.deb
|
|
|
|
|
|
|
|
# install the Wallpapers
|
|
|
|
apt install --yes pepermint-wallpapers
|
|
|
|
# Install desktop-base
|
|
|
|
apt install --yes desktop-base
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-07-11 06:48:53 +00:00
|
|
|
# Set the desktop base theme
|
|
|
|
# Remove it first
|
|
|
|
rm -f /etc/alternatives/desktop-theme
|
|
|
|
|
|
|
|
# Then re-add it
|
|
|
|
ln -s /usr/share/desktop-base/lines-theme /etc/alternatives/desktop-theme
|
|
|
|
# Remove the grub symlink for the background
|
|
|
|
rm -f /etc/alternatives/desktop-grub
|
|
|
|
# Then recreate it with the Pep Background
|
|
|
|
ln -s /usr/share/desktop-base/active-theme/grub/pep-grub-16x9.png /etc/alternatives/desktop-grub
|
|
|
|
|
2023-09-27 04:01:01 +00:00
|
|
|
|
2023-07-11 06:48:53 +00:00
|
|
|
|
|
|
|
# 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
|
2023-07-12 11:08:41 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
# check to see if this is the main line if it is then
|
|
|
|
# take care of raspi
|
|
|
|
if [ -e /usr/share/peppermint/pep_id ]
|
|
|
|
then
|
|
|
|
apt remove raspi-firmware -y
|
|
|
|
apt purge raspi-firmware -y
|
2023-07-12 11:27:56 +00:00
|
|
|
apt autoremove -y
|
2023-07-12 11:08:41 +00:00
|
|
|
else
|
|
|
|
echo "not there"
|
|
|
|
fi
|
|
|
|
|