Only remove /etc/init.d/nut from previous versions of nut in nut-server postinst if there are no local changes.

* Only remove /etc/init.d/nut from previous versions of nut in nut-server
  postinst if there are no local changes.
* Also remove /etc/init.d/nut in nut-client postinst. Thanks to
  Laurent Bigonville for the hint.
This commit is contained in:
Laurent Bigonville 2013-01-13 17:36:52 +01:00
parent d54dd54840
commit 715368e54f
3 changed files with 22 additions and 3 deletions

6
debian/changelog vendored
View file

@ -13,8 +13,12 @@ nut (2.6.5-2) UNRELEASED; urgency=low
[ Ivo De Decker ]
* Only fix permissions of configfiles on first install.
* Only remove /etc/init.d/nut from previous versions of nut in nut-server
postinst if there are no local changes.
* Also remove /etc/init.d/nut in nut-client postinst. Thanks to
Laurent Bigonville for the hint.
-- Laurent Bigonville <bigon@debian.org> Sun, 13 Jan 2013 17:31:15 +0100
-- Laurent Bigonville <bigon@debian.org> Sun, 13 Jan 2013 17:36:13 +0100
nut (2.6.5-1) experimental; urgency=low