[packages/apache] drop httpd.conf symlink trigger as well. refs 5aeda90

glen glen at pld-linux.org
Sat May 2 19:29:54 CEST 2015


commit 3ab52df8274d8007618146fe8e7f062c2f10d142
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat May 2 20:28:59 2015 +0300

    drop httpd.conf symlink trigger as well. refs 5aeda90

 apache.spec | 19 -------------------
 1 file changed, 19 deletions(-)
---
diff --git a/apache.spec b/apache.spec
index 31f50f0..6c9e3fc 100644
--- a/apache.spec
+++ b/apache.spec
@@ -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')
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/apache.git/commitdiff/3ab52df8274d8007618146fe8e7f062c2f10d142



More information about the pld-cvs-commit mailing list