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

9 lines
281 B
Plaintext
Raw Normal View History

2024-08-01 14:23:17 +02: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-*
2024-09-27 19:55:39 +02:00
systemctl unmask fwupd || true
systemctl unmask nmdb || true
apt clean -y