SPECS: horde-jonah.spec - drop trigger

glen glen at pld-linux.org
Fri May 19 23:40:37 CEST 2006


Author: glen                         Date: Fri May 19 21:40:37 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- drop trigger

---- Files affected:
SPECS:
   horde-jonah.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/horde-jonah.spec
diff -u SPECS/horde-jonah.spec:1.15 SPECS/horde-jonah.spec:1.16
--- SPECS/horde-jonah.spec:1.15	Wed Apr 12 15:54:02 2006
+++ SPECS/horde-jonah.spec	Fri May 19 23:40:32 2006
@@ -104,37 +104,6 @@
 %triggerun -- apache < 2.2.0, apache-base
 %webapp_unregister httpd %{_webapp}
 
-%triggerpostun -- horde-%{_hordeapp} < 0.2-0.20050917.0.6
-for i in conf.php prefs.php templates.php; do
-	if [ -f /etc/horde.org/%{_hordeapp}/$i.rpmsave ]; then
-		mv -f %{_sysconfdir}/$i{,.rpmnew}
-		mv -f /etc/horde.org/%{_hordeapp}/$i.rpmsave %{_sysconfdir}/$i
-	fi
-done
-
-if [ -f /etc/horde.org/apache-%{_hordeapp}.conf.rpmsave ]; then
-	mv -f %{_sysconfdir}/apache.conf{,.rpmnew}
-	mv -f %{_sysconfdir}/httpd.conf{,.rpmnew}
-	cp -f /etc/horde.org/apache-%{_hordeapp}.conf.rpmsave %{_sysconfdir}/apache.conf
-	cp -f /etc/horde.org/apache-%{_hordeapp}.conf.rpmsave %{_sysconfdir}/httpd.conf
-fi
-
-if [ -L /etc/apache/conf.d/99_horde-%{_hordeapp}.conf ]; then
-	/usr/sbin/webapp register apache %{_webapp}
-	rm -f /etc/apache/conf.d/99_horde-%{_hordeapp}.conf
-	if [ -f /var/lock/subsys/apache ]; then
-		/etc/rc.d/init.d/apache reload 1>&2
-	fi
-fi
-if [ -L /etc/httpd/httpd.conf/99_horde-%{_hordeapp}.conf ]; then
-	/usr/sbin/webapp register httpd %{_webapp}
-	rm -f /etc/httpd/httpd.conf/99_horde-%{_hordeapp}.conf
-	if [ -f /var/lock/subsys/httpd ]; then
-		/etc/rc.d/init.d/httpd reload 1>&2
-	fi
-fi
-
-
 %files
 %defattr(644,root,root,755)
 %doc LICENSE README docs/* scripts
@@ -166,6 +135,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2006/05/19 21:40:32  glen
+- drop trigger
+
 Revision 1.15  2006/04/12 13:54:02  glen
 - 2006-04-12 snap, rm cleanup
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/horde-jonah.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list