From 365d5a0bece3a5afac6f0d46554fe9695b7b8e2a Mon Sep 17 00:00:00 2001 From: Manuel Date: Sun, 25 Jun 2023 15:51:32 +0000 Subject: [PATCH] remove applications hooks cleanup --- .../normal/0520-applications.hook.chroot | 19 ----------------- .../normal/0520-applications.hook.chroot | 18 ---------------- .../normal/0520-applications.hook.chroot | 18 ---------------- .../normal/0520-applications.hook.chroot | 8 +------ .../normal/0520-applications.hook.chroot | 17 +++------------ .../normal/0520-applications.hook.chroot | 21 ------------------- .../normal/0520-applications.hook.chroot | 19 ----------------- .../normal/0520-applications.hook.chroot | 15 ++----------- .../normal/0520-applications.hook.chroot | 21 ------------------- 9 files changed, 6 insertions(+), 150 deletions(-) diff --git a/Budgie/acorhooks/normal/0520-applications.hook.chroot b/Budgie/acorhooks/normal/0520-applications.hook.chroot index 59f85a4..c21cf4e 100755 --- a/Budgie/acorhooks/normal/0520-applications.hook.chroot +++ b/Budgie/acorhooks/normal/0520-applications.hook.chroot @@ -8,19 +8,6 @@ # apt remove -y termit apt --purge --yes autoremove murrine-themes hv3 libsqlite3-tcl libtcl8.6 libtk-img libtk8.6 tcl tcl-tls tcl8.6 tcllib tk tk-html3 tk8.6 konsole evolution termit raspi-firmware systemsettings nvidia* -## This section is the "lint-trap" to remove files and/or -## directories not associated with or required by AcorOS. -## Followed by \ , add files to be removed, one per line. - -for i in \ -/usr/share/applications/acoroslocale-im.desktop \ -/etc/alternatives/vi \ - - do [ -e $i ] && - rm -rf ${i} || - echo " The path ${i} was not found and couldn't be removed." - done - # Lowers the footprint in RAM at the small expense of added size to the ISO. update-icon-caches /usr/share/icons/* @@ -33,10 +20,4 @@ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flat # add-architecture i386 dpkg --add-architecture i386 -### Fixes the "Not installing grub for UEFI Secure Boot" in all versions , after the default was changed. -#sed s/keyutils/"keyutils --install-recommends"/ /usr/sbin/bootloader-config > /tmp/bootloader-config -echo -e "$(grep -A1 -B20 "Installing grub-efi (uefi)..." /usr/sbin/bootloader-config) --install-recommends" > /tmp/bootloader-config -echo -e "$(grep -A2 "else" /usr/sbin/bootloader-config) --install-recommends\nfi" >> /tmp/bootloader-config -chmod +x /tmp/bootloader-config && mv /tmp/bootloader-config /usr/sbin/bootloader-config - diff --git a/Cinnamon/acorhooks/normal/0520-applications.hook.chroot b/Cinnamon/acorhooks/normal/0520-applications.hook.chroot index 16b341c..5a1c34a 100755 --- a/Cinnamon/acorhooks/normal/0520-applications.hook.chroot +++ b/Cinnamon/acorhooks/normal/0520-applications.hook.chroot @@ -7,18 +7,6 @@ # apt remove -y firefox-esr # apt remove -y termit apt --purge --yes autoremove vim vim-tiny nautilus murrine-themes hv3 inkscape gnome-control-center gnome-control-center-data gnome-system-monitor malcontent konsole termit raspi-firmware systemsettings nvidia* -## This section is the "lint-trap" to remove files and/or -## directories not associated with or required by AcorOS. -## Followed by \ , add files to be removed, one per line. - -for i in \ -/usr/share/applications/acoroslocale-im.desktop \ -/etc/alternatives/vi \ - - do [ -e $i ] && - rm -rf ${i} || - echo " The path ${i} was not found and couldn't be removed." - done # Lowers the footprint in RAM at the small expense of added size to the ISO. update-icon-caches /usr/share/icons/* @@ -28,9 +16,3 @@ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flat #add-architecture i386 dpkg --add-architecture i386 - -### Fixes the "Not installing grub for UEFI Secure Boot" in all versions , after the default was changed. -#sed s/keyutils/"keyutils --install-recommends"/ /usr/sbin/bootloader-config > /tmp/bootloader-config -echo -e "$(grep -A1 -B20 "Installing grub-efi (uefi)..." /usr/sbin/bootloader-config) --install-recommends" > /tmp/bootloader-config -echo -e "$(grep -A2 "else" /usr/sbin/bootloader-config) --install-recommends\nfi" >> /tmp/bootloader-config -chmod +x /tmp/bootloader-config && mv /tmp/bootloader-config /usr/sbin/bootloader-config diff --git a/Gnome/acorhooks/normal/0520-applications.hook.chroot b/Gnome/acorhooks/normal/0520-applications.hook.chroot index a741084..d66186e 100755 --- a/Gnome/acorhooks/normal/0520-applications.hook.chroot +++ b/Gnome/acorhooks/normal/0520-applications.hook.chroot @@ -8,19 +8,6 @@ # apt remove -y termit apt --purge --yes autoremove murrine-themes hv3 libsqlite3-tcl libtcl8.6 libtk-img libtk8.6 tcl tcl-tls tcl8.6 tcllib tk tk-html3 tk8.6 konsole evolution termit raspi-firmware systemsettings nvidia* -## This section is the "lint-trap" to remove files and/or -## directories not associated with or required by AcorOS. -## Followed by \ , add files to be removed, one per line. - -for i in \ -/usr/share/applications/acoroslocale-im.desktop \ -/etc/alternatives/vi \ - - do [ -e $i ] && - rm -rf ${i} || - echo " The path ${i} was not found and couldn't be removed." - done - # Lowers the footprint in RAM at the small expense of added size to the ISO. update-icon-caches /usr/share/icons/* @@ -30,8 +17,3 @@ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flat #add-architecture i386 dpkg --add-architecture i386 -### Fixes the "Not installing grub for UEFI Secure Boot" in all versions , after the default was changed. -#sed s/keyutils/"keyutils --install-recommends"/ /usr/sbin/bootloader-config > /tmp/bootloader-config -echo -e "$(grep -A1 -B20 "Installing grub-efi (uefi)..." /usr/sbin/bootloader-config) --install-recommends" > /tmp/bootloader-config -echo -e "$(grep -A2 "else" /usr/sbin/bootloader-config) --install-recommends\nfi" >> /tmp/bootloader-config -chmod +x /tmp/bootloader-config && mv /tmp/bootloader-config /usr/sbin/bootloader-config diff --git a/Kde/acorhooks/normal/0520-applications.hook.chroot b/Kde/acorhooks/normal/0520-applications.hook.chroot index a73f65a..cca8950 100755 --- a/Kde/acorhooks/normal/0520-applications.hook.chroot +++ b/Kde/acorhooks/normal/0520-applications.hook.chroot @@ -28,8 +28,7 @@ for i in \ /usr/share/wallpapers/SoftWavesLockScreen \ /usr/share/wallpapers/SpaceFun \ /usr/share/wallpapers/DebianTheme \ -/usr/share/applications/acoroslocale-im.desktop \ -/etc/alternatives/vi \ +/usr/share/wallpapers/Emerald \ do [ -e $i ] && rm -rf ${i} || @@ -45,8 +44,3 @@ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flat #add-architecture i386 dpkg --add-architecture i386 -### Fixes the "Not installing grub for UEFI Secure Boot" in all versions , after the default was changed. -#sed s/keyutils/"keyutils --install-recommends"/ /usr/sbin/bootloader-config > /tmp/bootloader-config -echo -e "$(grep -A1 -B20 "Installing grub-efi (uefi)..." /usr/sbin/bootloader-config) --install-recommends" > /tmp/bootloader-config -echo -e "$(grep -A2 "else" /usr/sbin/bootloader-config) --install-recommends\nfi" >> /tmp/bootloader-config -chmod +x /tmp/bootloader-config && mv /tmp/bootloader-config /usr/sbin/bootloader-config diff --git a/Lxqt/acorhooks/normal/0520-applications.hook.chroot b/Lxqt/acorhooks/normal/0520-applications.hook.chroot index f7266ba..345aebc 100755 --- a/Lxqt/acorhooks/normal/0520-applications.hook.chroot +++ b/Lxqt/acorhooks/normal/0520-applications.hook.chroot @@ -8,22 +8,11 @@ # apt remove -y termit apt --purge --yes autoremove vim vim-tiny nautilus hv3 mpv murrine-themes smplayer deluge picom gnome-calculator konsole malcontent termit raspi-firmware nvidia* -## This section is the "lint-trap" to remove files and/or -## directories not associated with or required by AcorOS. -## Followed by \ , add files to be removed, one per line. - -for i in \ -/usr/share/applications/lxde-x-www-browser.desktop \ -/usr/share/applications/org.kde.kde5.desktop \ -/usr/share/applications/acoroslocale-im.desktop \ -/etc/alternatives/vi \ - - do [ -e $i ] && - rm -rf ${i} || - echo " The path ${i} was not found and couldn't be removed." - done # Lowers the footprint in RAM at the small expense of added size to the ISO. update-icon-caches /usr/share/icons/* #add flatpak repo to gnome-software flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo + +#add-architecture i386 +dpkg --add-architecture i386 diff --git a/Lxqt32/acorhooks/normal/0520-applications.hook.chroot b/Lxqt32/acorhooks/normal/0520-applications.hook.chroot index eb10a78..3433d36 100755 --- a/Lxqt32/acorhooks/normal/0520-applications.hook.chroot +++ b/Lxqt32/acorhooks/normal/0520-applications.hook.chroot @@ -8,30 +8,9 @@ # apt remove -y termit apt --purge --yes autoremove vim vim-tiny hv3 mpv murrine-themes smplayer smtube audacious screengrab konsole malcontent termit raspi-firmware nvidia* -## This section is the "lint-trap" to remove files and/or -## directories not associated with or required by AcorOS. -## Followed by \ , add files to be removed, one per line. - -for i in \ -/usr/share/applications/acoroslocale-im.desktop \ -/etc/alternatives/vi \ - - do [ -e $i ] && - rm -rf ${i} || - echo " The path ${i} was not found and couldn't be removed." - done - # Lowers the footprint in RAM at the small expense of added size to the ISO. update-icon-caches /usr/share/icons/* #add flatpak repo to gnome-software flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo -#add-architecture i386 -dpkg --add-architecture i386 - -### Fixes the "Not installing grub for UEFI Secure Boot" in all versions , after the default was changed. -#sed s/keyutils/"keyutils --install-recommends"/ /usr/sbin/bootloader-config > /tmp/bootloader-config -echo -e "$(grep -A1 -B20 "Installing grub-efi (uefi)..." /usr/sbin/bootloader-config) --install-recommends" > /tmp/bootloader-config -echo -e "$(grep -A2 "else" /usr/sbin/bootloader-config) --install-recommends\nfi" >> /tmp/bootloader-config -chmod +x /tmp/bootloader-config && mv /tmp/bootloader-config /usr/sbin/bootloader-config diff --git a/Mate/acorhooks/normal/0520-applications.hook.chroot b/Mate/acorhooks/normal/0520-applications.hook.chroot index 7af4a8a..b9a8836 100755 --- a/Mate/acorhooks/normal/0520-applications.hook.chroot +++ b/Mate/acorhooks/normal/0520-applications.hook.chroot @@ -8,20 +8,6 @@ # apt remove -y termit apt --purge --yes autoremove vim vim-tiny gnome-system-monitor hv3 mpv murrine-themes konsole malcontent termit raspi-firmware systemsettings nvidia* - -## This section is the "lint-trap" to remove files and/or -## directories not associated with or required by AcorOS. -## Followed by \ , add files to be removed, one per line. - -for i in \ -/usr/share/applications/acoroslocale-im.desktop \ -/etc/alternatives/vi \ - - do [ -e $i ] && - rm -rf ${i} || - echo " The path ${i} was not found and couldn't be removed." - done - # Lowers the footprint in RAM at the small expense of added size to the ISO. update-icon-caches /usr/share/icons/* @@ -31,8 +17,3 @@ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flat #add-architecture i386 dpkg --add-architecture i386 -### Fixes the "Not installing grub for UEFI Secure Boot" in all versions , after the default was changed. -#sed s/keyutils/"keyutils --install-recommends"/ /usr/sbin/bootloader-config > /tmp/bootloader-config -echo -e "$(grep -A1 -B20 "Installing grub-efi (uefi)..." /usr/sbin/bootloader-config) --install-recommends" > /tmp/bootloader-config -echo -e "$(grep -A2 "else" /usr/sbin/bootloader-config) --install-recommends\nfi" >> /tmp/bootloader-config -chmod +x /tmp/bootloader-config && mv /tmp/bootloader-config /usr/sbin/bootloader-config diff --git a/Xfce/acorhooks/normal/0520-applications.hook.chroot b/Xfce/acorhooks/normal/0520-applications.hook.chroot index 8a0cbda..3d33f45 100755 --- a/Xfce/acorhooks/normal/0520-applications.hook.chroot +++ b/Xfce/acorhooks/normal/0520-applications.hook.chroot @@ -8,22 +8,11 @@ # apt remove -y termit apt --purge --yes autoremove vim vim-tiny nautilus hv3 mpv murrine-themes konsole malcontent termit raspi-firmware systemsettings nvidia* -## This section is the "lint-trap" to remove files and/or -## directories not associated with or required by AcorOS. -## Followed by \ , add files to be removed, one per line. - -for i in \ -/usr/share/applications/acoroslocale-im.desktop \ -/etc/alternatives/vi \ - - do [ -e $i ] && - rm -rf ${i} || - echo " The path ${i} was not found and couldn't be removed." - done - # Lowers the footprint in RAM at the small expense of added size to the ISO. update-icon-caches /usr/share/icons/* #add flatpak repo to gnome-software flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo +#add-architecture i386 +dpkg --add-architecture i386 diff --git a/Xfce32/acorhooks/normal/0520-applications.hook.chroot b/Xfce32/acorhooks/normal/0520-applications.hook.chroot index f9faad4..6ea93eb 100755 --- a/Xfce32/acorhooks/normal/0520-applications.hook.chroot +++ b/Xfce32/acorhooks/normal/0520-applications.hook.chroot @@ -8,30 +8,9 @@ # apt remove -y termit apt --purge --yes autoremove vim vim-tiny nautilus hv3 mpv murrine-themes konsole malcontent termit raspi-firmware systemsettings nvidia* -## This section is the "lint-trap" to remove files and/or -## directories not associated with or required by AcorOS. -## Followed by \ , add files to be removed, one per line. - -for i in \ -/usr/share/applications/acoroslocale-im.desktop \ -/etc/alternatives/vi \ - - do [ -e $i ] && - rm -rf ${i} || - echo " The path ${i} was not found and couldn't be removed." - done - # Lowers the footprint in RAM at the small expense of added size to the ISO. update-icon-caches /usr/share/icons/* #add flatpak repo to gnome-software flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo -#add-architecture i386 -dpkg --add-architecture i386 - -### Fixes the "Not installing grub for UEFI Secure Boot" in all versions , after the default was changed. -#sed s/keyutils/"keyutils --install-recommends"/ /usr/sbin/bootloader-config > /tmp/bootloader-config -echo -e "$(grep -A1 -B20 "Installing grub-efi (uefi)..." /usr/sbin/bootloader-config) --install-recommends" > /tmp/bootloader-config -echo -e "$(grep -A2 "else" /usr/sbin/bootloader-config) --install-recommends\nfi" >> /tmp/bootloader-config -chmod +x /tmp/bootloader-config && mv /tmp/bootloader-config /usr/sbin/bootloader-config