From 612fc2ba5682cbc2fae98df5613b66d3308c09b8 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Tue, 24 May 2011 17:35:23 +0200 Subject: [PATCH] icecast: changed to use default prefix instead of 'opt/icecast' --- audio/icecast/icecast.conf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/audio/icecast/icecast.conf b/audio/icecast/icecast.conf index 531732ca5..ce0eaedf4 100644 --- a/audio/icecast/icecast.conf +++ b/audio/icecast/icecast.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../icecast/icecast.conf -# Copyright (C) 2009 The OpenSDE Project +# Copyright (C) 2009 - 2011 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -12,5 +12,7 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -prefix="opt/icecast" -set_confopt +if [ $prefix_auto = 1 ] ; then + # use a dedicated sysconfdir instead of /etc + sysconfdir="$sysconfdir/$pkg" +fi