remove applications hooks cleanup

This commit is contained in:
Manuel 2023-06-25 15:51:32 +00:00
parent b0a4153b2f
commit 365d5a0bec
9 changed files with 6 additions and 150 deletions

View File

@ -8,19 +8,6 @@
# apt remove -y termit # 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* 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. # Lowers the footprint in RAM at the small expense of added size to the ISO.
update-icon-caches /usr/share/icons/* 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 # add-architecture i386
dpkg --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

View File

@ -7,18 +7,6 @@
# apt remove -y firefox-esr # apt remove -y firefox-esr
# apt remove -y termit # 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* 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. # Lowers the footprint in RAM at the small expense of added size to the ISO.
update-icon-caches /usr/share/icons/* 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 #add-architecture i386
dpkg --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

View File

@ -8,19 +8,6 @@
# apt remove -y termit # 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* 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. # Lowers the footprint in RAM at the small expense of added size to the ISO.
update-icon-caches /usr/share/icons/* 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 #add-architecture i386
dpkg --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

View File

@ -28,8 +28,7 @@ for i in \
/usr/share/wallpapers/SoftWavesLockScreen \ /usr/share/wallpapers/SoftWavesLockScreen \
/usr/share/wallpapers/SpaceFun \ /usr/share/wallpapers/SpaceFun \
/usr/share/wallpapers/DebianTheme \ /usr/share/wallpapers/DebianTheme \
/usr/share/applications/acoroslocale-im.desktop \ /usr/share/wallpapers/Emerald \
/etc/alternatives/vi \
do [ -e $i ] && do [ -e $i ] &&
rm -rf ${i} || rm -rf ${i} ||
@ -45,8 +44,3 @@ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flat
#add-architecture i386 #add-architecture i386
dpkg --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

View File

@ -8,22 +8,11 @@
# apt remove -y termit # 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* 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. # Lowers the footprint in RAM at the small expense of added size to the ISO.
update-icon-caches /usr/share/icons/* update-icon-caches /usr/share/icons/*
#add flatpak repo to gnome-software #add flatpak repo to gnome-software
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
#add-architecture i386
dpkg --add-architecture i386

View File

@ -8,30 +8,9 @@
# apt remove -y termit # 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* 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. # Lowers the footprint in RAM at the small expense of added size to the ISO.
update-icon-caches /usr/share/icons/* update-icon-caches /usr/share/icons/*
#add flatpak repo to gnome-software #add flatpak repo to gnome-software
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo 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

View File

@ -8,20 +8,6 @@
# apt remove -y termit # 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* 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. # Lowers the footprint in RAM at the small expense of added size to the ISO.
update-icon-caches /usr/share/icons/* 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 #add-architecture i386
dpkg --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

View File

@ -8,22 +8,11 @@
# apt remove -y termit # apt remove -y termit
apt --purge --yes autoremove vim vim-tiny nautilus hv3 mpv murrine-themes konsole malcontent termit raspi-firmware systemsettings nvidia* 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. # Lowers the footprint in RAM at the small expense of added size to the ISO.
update-icon-caches /usr/share/icons/* update-icon-caches /usr/share/icons/*
#add flatpak repo to gnome-software #add flatpak repo to gnome-software
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
#add-architecture i386
dpkg --add-architecture i386

View File

@ -8,30 +8,9 @@
# apt remove -y termit # apt remove -y termit
apt --purge --yes autoremove vim vim-tiny nautilus hv3 mpv murrine-themes konsole malcontent termit raspi-firmware systemsettings nvidia* 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. # Lowers the footprint in RAM at the small expense of added size to the ISO.
update-icon-caches /usr/share/icons/* update-icon-caches /usr/share/icons/*
#add flatpak repo to gnome-software #add flatpak repo to gnome-software
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo 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