From 071652581ca1b00e8b0dc7c7068e440d2c213d40 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 15 Aug 2012 10:15:02 +0200 Subject: [PATCH] nut: changed to use a dedicated sysconfdir instead of using /etc --- monitor/nut/nut.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/monitor/nut/nut.conf b/monitor/nut/nut.conf index 72ab3057f..e5b6fa82f 100644 --- a/monitor/nut/nut.conf +++ b/monitor/nut/nut.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../nut/nut.conf -# Copyright (C) 2007 The OpenSDE Project +# Copyright (C) 2007 - 2012 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -12,6 +12,11 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- +if [ $prefix_auto = 1 ]; then + # use a dedicated sysconfdir instead of installing into /etc + sysconfdir="$sysconfdir/$pkg" +fi + # we patch drivers/Makefile.am to not install the driver skeleton # (see: no_skel.patch) hook_add preconf 5 "aclocal -I m4; autoconf; automake -a"