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

7 lines
220 B
Bash
Executable File

#!/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-*
apt clean -y