summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-17 00:00:11 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:02 +0200
commitcee58d8779868fe8c2b3b80f6dc30ac01abc5375 (patch)
tree2cccdb0b68b4004e31ee5ecbd1769e70c6320ba7
parentd6a30e84eb9e88cef7eec27ad7d58f8f245181ca (diff)
downloadvyos-live-build-cee58d8779868fe8c2b3b80f6dc30ac01abc5375.tar.gz
vyos-live-build-cee58d8779868fe8c2b3b80f6dc30ac01abc5375.zip
Also removing man chache in remove-temporary-files hook.
-rwxr-xr-xshare/hooks/0150-remove-temporary-files.chroot2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/hooks/0150-remove-temporary-files.chroot b/share/hooks/0150-remove-temporary-files.chroot
index 21bc5ee6f..fd220e030 100755
--- a/share/hooks/0150-remove-temporary-files.chroot
+++ b/share/hooks/0150-remove-temporary-files.chroot
@@ -3,6 +3,8 @@
set -e
# Remove temporary files
+rm -rf /var/cache/man/*
+
for _DIRECTORY in /tmp /var/tmp
do
rm -rf ${_DIRECTORY}