Remove '/var/lib/smartmontools' on purge (Closes: #766145)

This commit is contained in:
Tobias Frost 2015-11-21 18:44:28 +01:00 committed by Jonathan Dowland
parent 20a5687ae7
commit 9da6b45fe2
2 changed files with 15 additions and 0 deletions

1
debian/changelog vendored
View File

@ -7,6 +7,7 @@ smartmontools (6.4+svn4109-2) UNRELEASED; urgency=medium
[ Tobias Frost ] [ Tobias Frost ]
* Import patch from Helmut (see above) * Import patch from Helmut (see above)
* Remove '/var/lib/smartmontools' on purge (Closes: #766145)
-- Helmut Grohne <helmut@subdivi.de> Thu, 30 Jul 2015 01:18:49 +0200 -- Helmut Grohne <helmut@subdivi.de> Thu, 30 Jul 2015 01:18:49 +0200

14
debian/smartmontools.postrm vendored Normal file
View File

@ -0,0 +1,14 @@
#!/bin/sh
case "$1" in
purge)
if [ -d /var/lib/smartmontools ] ; then
rm -rf /var/lib/smartmontools
fi
;;
esac
#DEBHELPER#
exit 0