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

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