* Log the size of doc directories to stdout.

ubuntu/precise
Matthias Klose 17 years ago
parent 903757a339
commit 047d3e54b0

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (0.41) gutsy; urgency=low
* Log the size of doc directories to stdout.
-- Matthias Klose <doko@ubuntu.com> Sun, 07 Oct 2007 14:07:59 +0200
livecd-rootfs (0.40) gutsy; urgency=low livecd-rootfs (0.40) gutsy; urgency=low
* Set CASPER_GENERATE_UUID=1 to tell casper's initramfs hook to generate a * Set CASPER_GENERATE_UUID=1 to tell casper's initramfs hook to generate a

@ -382,6 +382,11 @@ deb-src ${SECSRCMIRROR} ${STE}-security ${COMP}
# And now that we're done messing with debconf, destroy the backup files: # And now that we're done messing with debconf, destroy the backup files:
rm -f ${ROOT}/var/cache/debconf/*-old 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, # search for duplicate files, write the summary to stdout,
if which fdupes >/dev/null 2>&1; then if which fdupes >/dev/null 2>&1; then
echo "first line: <total size for dupes> <different dupes> <all dupes>" echo "first line: <total size for dupes> <different dupes> <all dupes>"

Loading…
Cancel
Save