#!/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
apt --purge --yes autoremove vim vim-tiny nautilus hv3 mpv murrine-themes konsole malcontent termit raspi-firmware systemsettings nvidia*

# 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
