#!/bin/bash ### Error checking added to "lint-trap" section. ### Missing files no longer cause builds to fail. ### Do NOT remove these files. # /usr/share/lightdm/lightdm.conf.d/01_debian.conf ## This section is the "lint-trap" to remove files and/or ## directories not associated with or required by PepOS. ## Followed by \ , add files to be removed, one per line. for i in \ /usr/bin/install-debian \ /usr/share/applications/install-debian.desktop \ /usr/share/applications/xfburn.desktop \ /etc/xdg/xfce4/panel/default.xml \ /etc/xdg/xfce4/panel/xfce4-clipman-actions.xml \ /root/.cache/pip \ do [ -e $i ] && rm -rf ${i} || echo " The path ${i} was not found and couldn't be removed." done ### This might be better in an OS-tweaks hook script. # Lowers the footprint in RAM by 200 MB at the small expense of added size to the ISO. update-icon-caches /usr/share/icons/*