From 23e8470a3b39c8f3b39005ee9578d525a86c4b4d Mon Sep 17 00:00:00 2001 From: fdupoux Date: Sun, 29 Dec 2019 20:48:13 +0000 Subject: [PATCH] Removed more files to save disk space --- airootfs/root/customize_airootfs.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/airootfs/root/customize_airootfs.sh b/airootfs/root/customize_airootfs.sh index c19a872..44f3f41 100755 --- a/airootfs/root/customize_airootfs.sh +++ b/airootfs/root/customize_airootfs.sh @@ -42,6 +42,8 @@ systemctl set-default multi-user.target # Cleanup find /usr/lib -type f -name '*.py[co]' -delete -o -type d -name __pycache__ -delete +rm -rf /usr/share/gtk-doc /usr/share/doc /usr/share/keepassxc/docs/*.pdf +rm -rf /usr/share/gir* # Update pacman.conf sed -i -e '/# ==== BEGIN customrepos ====/,/# ==== END customrepos ====/d' /etc/pacman.conf