mirror of
https://git.proxmox.com/git/mirror_smartmontools-debian
synced 2025-07-31 02:49:14 +00:00
Remove '/var/lib/smartmontools' on purge (Closes: #766145)
This commit is contained in:
parent
20a5687ae7
commit
9da6b45fe2
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -7,6 +7,7 @@ smartmontools (6.4+svn4109-2) UNRELEASED; urgency=medium
|
||||
|
||||
[ Tobias Frost ]
|
||||
* 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
|
||||
|
||||
|
14
debian/smartmontools.postrm
vendored
Normal file
14
debian/smartmontools.postrm
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user