debian/nut-server.maintscript: Remove /etc/init.d/nut on upgrade (Closes: #677822)

This commit is contained in:
Laurent Bigonville 2012-08-09 11:05:51 +02:00
parent f50e269016
commit 51c7f9422f
3 changed files with 8 additions and 2 deletions

4
debian/changelog vendored
View File

@ -2,8 +2,10 @@ nut (2.6.4-3) UNRELEASED; urgency=low
* debian/rules: Stop the nut-client before nut-server on systems using static * debian/rules: Stop the nut-client before nut-server on systems using static
boot ordering (Closes: #679451) boot ordering (Closes: #679451)
* debian/nut-server.maintscript: Remove /etc/init.d/nut on upgrade
(Closes: #677822)
-- Laurent Bigonville <bigon@debian.org> Thu, 09 Aug 2012 10:31:05 +0200 -- Laurent Bigonville <bigon@debian.org> Thu, 09 Aug 2012 11:04:51 +0200
nut (2.6.4-2) unstable; urgency=low nut (2.6.4-2) unstable; urgency=low

3
debian/control vendored
View File

@ -3,7 +3,7 @@ Section: admin
Priority: optional Priority: optional
Maintainer: Arnaud Quette <aquette@debian.org> Maintainer: Arnaud Quette <aquette@debian.org>
Uploaders: Laurent Bigonville <bigon@debian.org> Uploaders: Laurent Bigonville <bigon@debian.org>
Build-Depends: debhelper (>= 8), Build-Depends: debhelper (>= 8.1.0~),
cdbs (>= 0.4.90~), cdbs (>= 0.4.90~),
libgd2-xpm-dev | libgd2-noxpm-dev, libgd2-xpm-dev | libgd2-noxpm-dev,
libsnmp-dev | libsnmp9-dev, libsnmp-dev | libsnmp9-dev,
@ -44,6 +44,7 @@ Provides: nut-usb
Conflicts: nut-hal-drivers, nut-usb (<< 2.1.0-3), nut-dev (<< 2.2.2) Conflicts: nut-hal-drivers, nut-usb (<< 2.1.0-3), nut-dev (<< 2.2.2)
Replaces: nut (<< 2.6.1-2~) Replaces: nut (<< 2.6.1-2~)
Breaks: nut (<< 2.6.1-2~) Breaks: nut (<< 2.6.1-2~)
Pre-Depends: ${misc:Pre-Depends}
Description: network UPS tools - core system Description: network UPS tools - core system
Network UPS Tools (NUT) is a client/server monitoring system that Network UPS Tools (NUT) is a client/server monitoring system that
allows computers to share uninterruptible power supply (UPS) and allows computers to share uninterruptible power supply (UPS) and

3
debian/nut-server.maintscript vendored Normal file
View File

@ -0,0 +1,3 @@
#Removing obsolete init script.
#The file is gone in 2.6.3-2 but was not removed on upgrades.
rm_conffile /etc/init.d/nut 2.6.4-3~