[Apt-listbugs-commits] [SCM] apt-listbugs development tree branch, master, updated. debian/0.1.1-34-g6406a78
Ryan Niebur
ryanryan52 at gmail.com
Thu Dec 10 01:25:44 UTC 2009
The following commit has been merged in the master branch:
commit bad989628777b2303922b199c1695257685da8b1
Author: Francesco Poli (t1000) <frx at firenze.linux.it>
Date: Tue Dec 8 22:45:50 2009 +0100
clean up obsolete index files (Closes: #484385)
diff --git a/debian/TODO b/debian/TODO
index 4ad325a..282dfaa 100644
--- a/debian/TODO
+++ b/debian/TODO
@@ -1,6 +1,5 @@
Release goals for version 0.1.2
-------------------------------
-* close #484385 - does not clean up obsolete cache
* close #257873 - handle source versions
Release goals for version 0.1.3
diff --git a/debian/changelog b/debian/changelog
index 05c1e32..ce1ce07 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,8 +15,10 @@ apt-listbugs (0.1.2) UNRELEASED; urgency=low
* dropped obsolete example update-index.db
* fixed bug in /etc/apt/preferences writing (bug titles with apostrophes
were messed up)
+ * added clean-up code to the postinst script in order to remove obsolete
+ index files (Closes: #484385)
- -- Francesco Poli (t1000) <frx at firenze.linux.it> Tue, 08 Dec 2009 21:38:04 +0100
+ -- Francesco Poli (t1000) <frx at firenze.linux.it> Tue, 08 Dec 2009 22:37:29 +0100
apt-listbugs (0.1.1) unstable; urgency=low
diff --git a/debian/postinst b/debian/postinst
index 3c23939..b5b3d74 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -38,6 +38,16 @@ case "$1" in
echo "done"
fi
+ # removing obsolete index files
+ for OLDFILE in /var/cache/apt-listbugs/*indices*
+ do
+ if test -f "$OLDFILE"; then
+ echo -n "Removing obsolete $OLDFILE ..."
+ rm -f $OLDFILE
+ echo "done"
+ fi
+ done
+
;;
abort-upgrade|abort-remove|abort-deconfigure)
--
apt-listbugs development tree
More information about the Apt-listbugs-commits
mailing list