From c0fcf223ecdeb0b2b86dd6d1c3e6272c1ed4a95e Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 13 Aug 2012 12:56:56 +0200 Subject: [PATCH] lcdproc: changed to use a dedicated sysconfdir /etc/lcdproc instead of /etc --- monitor/lcdproc/lcdproc.conf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/monitor/lcdproc/lcdproc.conf b/monitor/lcdproc/lcdproc.conf index caaa5d823..4d5bef8ba 100644 --- a/monitor/lcdproc/lcdproc.conf +++ b/monitor/lcdproc/lcdproc.conf @@ -2,6 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../lcdproc/lcdproc.conf +# Copyright (C) 2012 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -13,9 +14,14 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- +if [ $prefix_auto = 1 ]; then + # use a dedicated sysconfdir + sysconfdir="$sysconfdir/$pkg" +fi + lcdemu_postmake () { echo "Copying default configuration:" - cp -v LCDd.conf ${root}/etc + cp -v LCDd.conf ${root}${sysconfdir} } hook_add postmake 5 "lcdemu_postmake"