From 793fac36f34e9a922e9640f0a3c4df834f857ad2 Mon Sep 17 00:00:00 2001 From: Laurent Bigonville Date: Sun, 10 Jul 2022 12:20:36 +0200 Subject: [PATCH] Install nut-driver-enumerator.sh in /usr/libexec/ --- debian/changelog | 3 ++- debian/nut-server.install | 2 +- debian/rules | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index f9c4bbb..419a91f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -32,8 +32,9 @@ nut (2.8.0-1) UNRELEASED; urgency=medium * Override systemd-service-file-refers-to-unusual-wantedby-target for nut-client and nut-server packages * Install the nut.target file in the nut-client package + * Install nut-driver-enumerator.sh in /usr/libexec/ - -- Laurent Bigonville Sun, 10 Jul 2022 12:20:02 +0200 + -- Laurent Bigonville Sun, 10 Jul 2022 12:26:12 +0200 nut (2.7.4-14) unstable; urgency=medium diff --git a/debian/nut-server.install b/debian/nut-server.install index 810fc29..c19cdb7 100644 --- a/debian/nut-server.install +++ b/debian/nut-server.install @@ -61,10 +61,10 @@ debian/tmp/lib/systemd/system/nut-driver-enumerator.service debian/tmp/lib/systemd/system/nut-driver.target debian/tmp/lib/systemd/system/nut-driver@.service debian/tmp/lib/systemd/system/nut-server.service -debian/tmp/lib/*/nut-driver-enumerator.sh debian/tmp/sbin/upsd debian/tmp/sbin/upsdrvctl debian/tmp/sbin/upsdrvsvcctl +debian/tmp/usr/libexec/nut-driver-enumerator.sh debian/tmp/usr/share/apport/package-hooks/source_nut-server.py debian/tmp/usr/share/nut/cmdvartab debian/tmp/usr/share/nut/driver.list diff --git a/debian/rules b/debian/rules index 89fd956..39e6fdb 100755 --- a/debian/rules +++ b/debian/rules @@ -11,7 +11,7 @@ DEB_CONFIGURE_EXTRA_FLAGS := --prefix= \ --includedir=/usr/include \ --mandir=/usr/share/man \ --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ - --libexecdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ + --libexecdir=/usr/libexec \ --with-ssl --with-nss \ --with-cgi \ --with-dev \