mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-08 08:30:59 +00:00
remove left over files on purge
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3560 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
4c0620c498
commit
3e254ce4b6
2 changed files with 15 additions and 2 deletions
9
debian/changelog
vendored
9
debian/changelog
vendored
|
|
@ -1,3 +1,12 @@
|
|||
linkchecker (4.7-2) unstable; urgency=low
|
||||
|
||||
* On some installations old files are lingering around after purging
|
||||
in /usr/lib/python2.4/site-packages/linkcheck/. Postrm will remove
|
||||
them forcefully now.
|
||||
(Closes: #429580)
|
||||
|
||||
-- Bastian Kleineidam <calvin@debian.org> Tue, 19 Jun 2007 16:57:03 +0200
|
||||
|
||||
linkchecker (4.7-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
|
|
|
|||
8
debian/linkchecker.postrm
vendored
8
debian/linkchecker.postrm
vendored
|
|
@ -18,13 +18,17 @@ set -e
|
|||
# the debian-policy package
|
||||
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
if [ "$1" = "purge" ]; then
|
||||
# remove old conf file generated by previous updates
|
||||
if [ -f /etc/linkchecker/linkcheckerrc.old ]; then
|
||||
rm -f /etc/linkchecker/linkcheckerrc.old
|
||||
fi
|
||||
# remove old .py[co] files generated by previous tools and forgotten
|
||||
if [ -d /usr/lib/python2.4/site-packages/linkcheck ]; then
|
||||
rm -rf /usr/lib/python2.4/site-packages/linkcheck
|
||||
fi
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue