[SCM] debian-live/live-helper branch, master, updated. 1.0_a35-1-21-g2a9dfc7
Daniel Baumann
daniel at debian.org
Mon Nov 12 21:51:56 UTC 2007
The branch, master has been updated
via 2a9dfc7421cf80a4deb004b64f261480641cd473 (commit)
from b0282f5d26d7a956d4c348c48f89f357ff87e4b5 (commit)
- Shortlog ------------------------------------------------------------
2a9dfc7 Removing the whole cache, not just the .deb cache in mini and minimal hooks, thanks to Franklin Piat <fpiat at bigfoot.com>.
Summary of changes:
hooks/mini | 6 +++++-
hooks/minimal | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
Details of changes:
commit 2a9dfc7421cf80a4deb004b64f261480641cd473
Author: Daniel Baumann <daniel at debian.org>
Date: Mon Nov 12 22:51:27 2007 +0100
Removing the whole cache, not just the .deb cache in mini and minimal hooks, thanks to Franklin Piat <fpiat at bigfoot.com>.
diff --git a/hooks/mini b/hooks/mini
index c33186e..e7f6ff1 100755
--- a/hooks/mini
+++ b/hooks/mini
@@ -33,10 +33,14 @@ rm -rf /usr/share/info/*
rm -rf /usr/share/zoneinfo/*
rm -rf /var/cache/man/*
-# Cleaning apt
+# Cleaning apt lists
rm -rf /var/lib/apt/lists
mkdir -p /var/lib/apt/lists/partial
+# Cleaning apt cache
+rm -rf /var/cache/apt
+mkdir -p /var/cache/apt/archives/partial
+
# Truncating logs
for FILE in $(find /var/log/ -type f)
do
diff --git a/hooks/minimal b/hooks/minimal
index ff57deb..5761abb 100755
--- a/hooks/minimal
+++ b/hooks/minimal
@@ -25,10 +25,14 @@ find . -name *~ | xargs rm -f
rm -rf /var/cache/man/*
-# Cleaning apt
+# Cleaning apt lists
rm -rf /var/lib/apt/lists
mkdir -p /var/lib/apt/lists/partial
+# Cleaning apt cache
+rm -rf /var/cache/apt
+mkdir -p /var/cache/apt/archives/partial
+
# Truncating logs
for FILE in $(find /var/log/ -type f)
do
--
debian-live/live-helper
More information about the debian-live-changes
mailing list