live-iso-hyprland/hooks/999-cleanup-apt-cache.chroot

12 lines
429 B
Plaintext
Raw Normal View History

2024-10-27 17:17:07 +01:00
#!/bin/sh
# Description: Cleanup apt cache files that add ~100MB to the .iso and aren't needed
rm -f /var/lib/apt/lists/*_Packages
rm -f /var/lib/apt/lists/*_Sources
rm -f /var/lib/apt/lists/*_Translation-*
systemctl mask fwupd || true
systemctl mask nmdb || true
systemctl mask gnome-remote-desktop || true
systemctl mask gnome-remote-desktop-configuration || true
systemctl mask NetworkManager-wait-online || true
2024-10-27 17:17:07 +01:00
apt clean -y