From 3d7be618a34c544dda24b34c255b8aacbb3bd30a Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Wed, 20 Oct 2010 20:03:11 +0200 Subject: [PATCH] runit: changed to use prefix= instead of mangling sbindir --- base/runit/runit.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/base/runit/runit.conf b/base/runit/runit.conf index 6329234a8..3cbba73fd 100644 --- a/base/runit/runit.conf +++ b/base/runit/runit.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../runit/runit.conf -# Copyright (C) 2008 The OpenSDE Project +# Copyright (C) 2008 - 2010 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -14,7 +14,10 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -[ "$prefix" = usr ] && sbindir="/sbin" +if [ $prefix_auto = 1 ]; then + prefix= + set_confopt +fi . $base/package/*/runit/djb-config admin $sbindir