]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm.macros
- fix apache_config_install macro (hardcoded apache confdir path)
[packages/rpm.git] / rpm.macros
index ac0737e5d913e765471d89dff02e6949be207336..7d7c53f346f6a38180cc5b42d8dd23ac7f6f8108 100644 (file)
@@ -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\
This page took 0.035687 seconds and 4 git commands to generate.