2024-01-22 12:52:21 -01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
### Error checking added to "lint-trap" section.
|
|
|
|
### Missing files no longer cause builds to fail.
|
|
|
|
|
|
|
|
# Remove software
|
|
|
|
# apt remove -y firefox-esr
|
|
|
|
# apt remove -y termit
|
2024-01-26 12:16:43 -01:00
|
|
|
apt --purge --yes autoremove nautilus hv3 mpv murrine-themes smplayer deluge picom gnome-calculator konsole malcontent termit raspi-firmware smtube audacious nvidia* imagemagick* yelp
|
2024-01-22 12:52:21 -01:00
|
|
|
|
|
|
|
# Remove /boot/firmware folder
|
|
|
|
rm -r /boot/firmware
|
|
|
|
|
|
|
|
## 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/kdesystemsettings.desktop \
|
|
|
|
/usr/share/applications/systemsettings.desktop \
|
2024-01-24 11:14:19 -01:00
|
|
|
/usr/share/applications/calamares.desktop.orig \
|
|
|
|
/usr/share/applications/xfce4-mail-reader.desktop \
|
|
|
|
/usr/share/applications/xfce4-web-browser.desktop \
|
2024-01-22 12:52:21 -01:00
|
|
|
|
|
|
|
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/*
|
|
|
|
find /usr/share/icons -type d -exec gtk-update-icon-cache -f {} \;
|
|
|
|
|
|
|
|
#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
|