From 1c7525c664f26f21afbac05eb2d30a33524c6616 Mon Sep 17 00:00:00 2001 From: manuel Date: Fri, 29 Mar 2024 13:18:43 -0100 Subject: [PATCH] update loaded-hooks --- .../loaded-hooks/normal/0540-misc.hook.chroot | 41 ------------------- .../normal/0600-OS-symlinks.hook.chroot | 16 -------- 2 files changed, 57 deletions(-) diff --git a/iso_configs/loaded-hooks/normal/0540-misc.hook.chroot b/iso_configs/loaded-hooks/normal/0540-misc.hook.chroot index b7096137..c09c39c1 100755 --- a/iso_configs/loaded-hooks/normal/0540-misc.hook.chroot +++ b/iso_configs/loaded-hooks/normal/0540-misc.hook.chroot @@ -7,35 +7,6 @@ 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 - -# set the plymouth on boot -plymouth-set-default-theme -R lines - -# 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 - - - - -# 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 - - # This will install hblock - a local ad-blocker utility # https://github.com/hectorm/hblock @@ -47,15 +18,3 @@ 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 - apt autoremove -y -else - echo "not there" -fi - diff --git a/iso_configs/loaded-hooks/normal/0600-OS-symlinks.hook.chroot b/iso_configs/loaded-hooks/normal/0600-OS-symlinks.hook.chroot index 29870c0f..8715faaa 100755 --- a/iso_configs/loaded-hooks/normal/0600-OS-symlinks.hook.chroot +++ b/iso_configs/loaded-hooks/normal/0600-OS-symlinks.hook.chroot @@ -4,22 +4,6 @@ # We might be changing directories with each symlink. # Don't assume each instance will be from ~/ for the root user. -# Workaround for using snapd on debian. Thank You - @stevesveryown. -[ ! -e /etc/skel/.local/share ] && mkdir -p /etc/skel/.local/share -#[ ! -e /var/lib/snapd/desktop/applications ] && -#mkdir -p /var/lib/snapd/desktop/applications && -#chmod 777 /var/lib/snapd/desktop/applications -#ln -s /var/lib/snapd/desktop/applications /etc/skel/.local/share/applications -ln -s snap /usr/bin/snap-store - -# This fixes the 'Right-Click doesn't open terminal in nemo' issue. -ln -s xfce4-terminal /usr/bin/gnome-terminal - -# This work-around lets ICE find Chromium (cromium-browser) in /usr/bin . -# No similar work-arounds were needed for FF, FF-ESR, Chrome or Vivaldi . -ln -s chromium /usr/bin/chromium-browser - - # These are for the 3 installer scripts - icons.sh, themes.sh & walls.sh # In 0610- we set the permissions to 777 on the DIRECTORY, not the contents. ln -s icons /usr/share/pepicons