summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-12-04 13:10:48 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-12-04 13:10:48 -0500
commit1a521fdcad128bab7d411b026a26a27edd20a131 (patch)
tree186d87bc17a0723631a47e1e9e49cd1ca4e34e1b
parentd9f1182e68362427ee6184583073a8da3795ac3f (diff)
Deal with removal of the cache directory. Closes: #559418
-rw-r--r--debian/changelog6
-rwxr-xr-xpre-install.d/10packagelist1
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 02d491d..eaf58a7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+etckeeper (0.42) UNRELEASED; urgency=low
+
+ * Deal with removal of the cache directory. Closes: #559418
+
+ -- Joey Hess <joeyh@debian.org> Fri, 04 Dec 2009 13:10:28 -0500
+
etckeeper (0.41) unstable; urgency=low
* Change etckeeper uninit to not remove .gitignore (etc) file
diff --git a/pre-install.d/10packagelist b/pre-install.d/10packagelist
index f83acee..e5fefa8 100755
--- a/pre-install.d/10packagelist
+++ b/pre-install.d/10packagelist
@@ -1,3 +1,4 @@
#!/bin/sh
# This list will be later used when committing.
+mkdir -p /var/cache/etckeeper/
etckeeper list-installed > /var/cache/etckeeper/packagelist.pre-install