]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- fix apache_config_install macro (hardcoded apache confdir path) auto/ac/rpm-4_4_1-1_11
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 12 Jun 2005 09:02:51 +0000 (09:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.223

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.039314 seconds and 4 git commands to generate.