From 047d3e54b01e373bb7c87a46bd859fb5cbd235ea Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Sun, 7 Oct 2007 14:14:43 +0200 Subject: [PATCH] * Log the size of doc directories to stdout. --- debian/changelog | 6 ++++++ livecd.sh | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/debian/changelog b/debian/changelog index f21014d8..f6821bf7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (0.41) gutsy; urgency=low + + * Log the size of doc directories to stdout. + + -- Matthias Klose Sun, 07 Oct 2007 14:07:59 +0200 + livecd-rootfs (0.40) gutsy; urgency=low * Set CASPER_GENERATE_UUID=1 to tell casper's initramfs hook to generate a diff --git a/livecd.sh b/livecd.sh index 770893ad..8fd5cf5d 100755 --- a/livecd.sh +++ b/livecd.sh @@ -382,6 +382,11 @@ deb-src ${SECSRCMIRROR} ${STE}-security ${COMP} # And now that we're done messing with debconf, destroy the backup files: rm -f ${ROOT}/var/cache/debconf/*-old + # show the size of directories in /usr/share/doc + echo BEGIN docdirs + (cd $ROOT && find usr/share/doc -maxdepth 1 -type d | xargs du -s | sort -nr) + echo END docdirs + # search for duplicate files, write the summary to stdout, if which fdupes >/dev/null 2>&1; then echo "first line: "