From 1d90410bf509dbbe54ce3dceee1cd16300129a06 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 12 Jun 2005 09:02:51 +0000 Subject: [PATCH] - fix apache_config_install macro (hardcoded apache confdir path) Changed files: rpm.macros -> 1.223 --- rpm.macros | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm.macros b/rpm.macros index ac0737e..7d7c53f 100644 --- a/rpm.macros +++ b/rpm.macros @@ -687,7 +687,7 @@ if [ "$1" = "1" ] && [ "$2" = "1" ] && [ -d %{__apache_confdir %{-v*}} ]; then\ ln -sf %{-c*}%{!-c:%{_sysconfdir}/apache-%{name}.conf} %{__apache_confdir %{-v*}}/%{-n*}%{!-n:99}_%{name}.conf\ fi\ # restart apache if the config symlink is there\ -if [ -L /etc/apache/conf.d/%{-n*}%{!-n:99}_%{name}.conf ]; then\ +if [ -L %{__apache_confdir %{-v*}}/%{-n*}%{!-n:99}_%{name}.conf ]; then\ if [ -f /var/lock/subsys/%{__apache_svcname %{-v*}} ]; then\ /etc/rc.d/init.d/%{__apache_svcname %{-v*}} restart 1>&2\ fi\ -- 2.44.0