]> git.pld-linux.org Git - packages/apache.git/commitdiff
drop httpd.conf symlink trigger as well. refs 5aeda90
authorElan Ruusamäe <glen@delfi.ee>
Sat, 2 May 2015 17:28:59 +0000 (20:28 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 2 May 2015 17:29:20 +0000 (20:29 +0300)
apache.spec

index 31f50f0f7bf004ed0efd6a019fee48b062105283..6c9e3fc300f53a88e0d6af3ef2a6dbaebba248f9 100644 (file)
@@ -2875,25 +2875,6 @@ rm -rf $RPM_BUILD_ROOT
 %useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http
 
 %pretrans base
-# change httpd.conf from dir to symlink
-if [ ! -L /etc/httpd/httpd.conf ]; then
-       if [ -d /etc/httpd/httpd.conf ]; then
-               if [ -d /etc/httpd/conf.d ]; then
-                       mv /etc/httpd/httpd.conf/* /etc/httpd/conf.d
-                       rmdir /etc/httpd/httpd.conf 2>/dev/null || mv -v /etc/httpd/httpd.conf{,.rpmsave}
-               else
-                       mv /etc/httpd/httpd.conf /etc/httpd/conf.d
-               fi
-
-               # new module packages issue error as first installed over 2.0 installation
-               mv -f /var/lock/subsys/httpd{,.disabled} 2>/dev/null
-       fi
-
-       # always have httpd.conf symlink (until all packages from Ac use new dir)
-       install -d /etc/httpd
-       ln -s conf.d /etc/httpd/httpd.conf
-fi
-
 # handle $HTTPD_MPM from sysconfig
 if [ -f /etc/sysconfig/httpd ]; then
        MPM=$(grep ^HTTPD_MPM /etc/sysconfig/httpd | sed 's,HTTPD_MPM=,,;s,",,g')
This page took 0.088773 seconds and 4 git commands to generate.