d/p/0009-fix-nutshutdown-install.patch: Install the nutshutdown script in the correct path

This commit is contained in:
Laurent Bigonville 2016-07-17 19:06:03 +02:00
parent 38537675ba
commit 1a30e36c57
3 changed files with 15 additions and 1 deletions

4
debian/changelog vendored
View file

@ -17,8 +17,10 @@ nut (2.7.3-1) UNRELEASED; urgency=low
* debian/control: Bump Standards-Version to 3.9.8 (no further changes)
* debian/control: Add dh-python to the build-dependencies
* Bump debhelper compatibility to 9
* d/p/0009-fix-nutshutdown-install.patch: Install the nutshutdown script in
the correct path
-- Laurent Bigonville <bigon@debian.org> Sun, 17 Jul 2016 18:10:02 +0200
-- Laurent Bigonville <bigon@debian.org> Sun, 17 Jul 2016 19:05:43 +0200
nut (2.7.2-4) unstable; urgency=medium

View file

@ -0,0 +1,11 @@
--- a/configure.ac
+++ b/configure.ac
@@ -1065,7 +1065,7 @@ dnl Override installation directory, wit
dnl prefix. This is needed for 'distcheck*' targets, otherwise
dnl files will try to get intalled to the actual system directories
if test -n "${systemdsystemunitdir}"; then
- systemdsystemshutdowndir="${libdir}/systemd/system-shutdown"
+ systemdsystemshutdowndir=`$PKG_CONFIG --variable=systemdshutdowndir systemd`
AC_MSG_RESULT(using ${systemdsystemunitdir})
else
AC_MSG_RESULT(no)

View file

@ -3,3 +3,4 @@
0004-fix-systemd-service.patch
0006-ups-conf-maxretry.patch
0008-drop-w3c-icons.patch
0009-fix-nutshutdown-install.patch