livecd-rootfs/live-build/ubuntu-desktop-next/hooks/10-remove-documentation.binary
Sebastien Bacher bc2b9aed67 Import patches-unapplied version 2.317 to ubuntu/wily-proposed
Imported using git-ubuntu import.

Changelog parent: 2342202959d18f52aacf8a20dd6afed76cf42196

New changelog entries:
  [ Sebastien Bacher ]
  * live-build/ubuntu-desktop-next/hooks/20-extra-files.chroot:
    - create other needed directories
  * live-build/ubuntu-desktop-next/includes.chroot:
    - copy ubuntu-core's include for /etc/hosts and resolv.conf config
  * live-build/ubuntu-desktop-next/hooks/00-uid-gid-fix.chroot_early:
    - copy touch hacks to create needed userdirs (lightdm & usermetrics),
      the users are added by the script and not the usual postinst so their
      uderdirs are not created as they should
  * live-build/ubuntu-desktop-next/hooks/10-remove-documentation.binary:
    - don't remove the copyright and manpages on desktop
  [ Oliver Grawert ]
  * allow install of "multi" click packages in 60-install-click.chroot on
    ubuntu-touch
2015-06-19 08:58:23 +00:00

9 lines
222 B
Bash

#!/bin/sh -x
echo "I: Removing /var/lib/apt/lists/*"
find binary/boot/filesystem.dir/var/lib/apt/lists/ -type f | xargs rm -f
echo "I: Removing /var/cache/apt/*.bin"
rm -f binary/boot/filesystem.dir/var/cache/apt/*.bin