2023-02-04 18:25:27 -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 teit
|
2023-07-31 13:18:12 +00:00
|
|
|
apt --purge --yes autoremove vim vim-tiny murrine-themes cantata hv3 termit raspi-firmware nvidia*
|
|
|
|
|
|
|
|
# Remove /boot/firmware folder
|
|
|
|
rm -r /boot/firmware
|
2023-02-04 18:25:27 -01:00
|
|
|
|
|
|
|
## 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/wallpapers/FuturePrototype \
|
|
|
|
/usr/share/wallpapers/FuturePrototypeWithLogo \
|
|
|
|
/usr/share/wallpapers/homeworld \
|
|
|
|
/usr/share/wallpapers/homeworld_wallpaper \
|
|
|
|
/usr/share/wallpapers/Joy \
|
|
|
|
/usr/share/wallpapers/JoyInksplat \
|
|
|
|
/usr/share/wallpapers/JoyLockScreen \
|
|
|
|
/usr/share/wallpapers/Lines \
|
|
|
|
/usr/share/wallpapers/LinesLockScreen \
|
|
|
|
/usr/share/wallpapers/moonlight \
|
|
|
|
/usr/share/wallpapers/MoonlightLockScreen \
|
|
|
|
/usr/share/wallpapers/SoftWaves \
|
|
|
|
/usr/share/wallpapers/SoftWavesLockScreen \
|
|
|
|
/usr/share/wallpapers/SpaceFun \
|
|
|
|
/usr/share/wallpapers/DebianTheme \
|
2023-06-25 15:51:32 +00:00
|
|
|
/usr/share/wallpapers/Emerald \
|
2023-02-04 18:25:27 -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.
|
2023-07-01 02:02:49 +00:00
|
|
|
#update-icon-caches /usr/share/icons/*
|
|
|
|
find /usr/share/icons -type d -exec gtk-update-icon-cache -f {} \;
|
2023-02-04 18:25:27 -01:00
|
|
|
|
|
|
|
#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
|
|
|
|
|