debian/nut-server.prerm: Remove /var/run/nut during removal
This commit is contained in:
parent
dfa7599f33
commit
1e45c0d270
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -16,8 +16,9 @@ nut (2.6.1-2) UNRELEASED; urgency=low
|
|||
- Set nut-powerman-pdu priority to extras
|
||||
- Add nut-monitor package
|
||||
- Add nut-doc package and add required C/R/P
|
||||
* debian/nut-server.prerm: Remove /var/run/nut during removal
|
||||
|
||||
-- Laurent Bigonville <bigon@debian.org> Fri, 15 Jul 2011 14:59:36 +0200
|
||||
-- Laurent Bigonville <bigon@debian.org> Fri, 15 Jul 2011 15:31:30 +0200
|
||||
|
||||
nut (2.6.1-1) unstable; urgency=low
|
||||
|
||||
|
|
2
debian/nut-server.prerm
vendored
2
debian/nut-server.prerm
vendored
|
@ -14,7 +14,7 @@ case "$1" in
|
|||
[ -L /usr/doc/nut ] && rm -f /usr/doc/nut
|
||||
# do stop the daemon on remove
|
||||
invoke-rc.d nut stop && sleep 1
|
||||
[ -d /var/run/nut ] && rm -f /var/run/nut/*.pid
|
||||
[ -d /var/run/nut ] && rm -rf /var/run/nut/
|
||||
;;
|
||||
|
||||
upgrade)
|
||||
|
|
Loading…
Reference in New Issue
Block a user