apache1
Jakub Bogusz
qboosh at pld-linux.org
Fri Oct 22 11:53:36 CEST 2004
$ cvs diff -u -r1.207.2.19 -r1.207.2.20 apache.spec
[...]
%post mod_define
-%{apxs} -e -a -n define %{_libexecdir}/mod_define.so 1>&2
-if [ -f /var/lock/subsys/httpd ]; then
- /etc/rc.d/init.d/httpd restart 1>&2
-else
- echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
+if [ "$1" = "0" ]; then
+ %{apxs} -e -a -n define %{_libexecdir}/mod_define.so 1>&2
+ if [ -f /var/lock/subsys/httpd ]; then
+ /etc/rc.d/init.d/httpd restart 1>&2
+ else
+ echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
+ fi
fi
[...]
co to miało robić?
Kiedy w %post $1 = 0?
To samo dotyczy %post mod_autoindex w apache1.spec:HEAD i apache.spec:RA-branch
--
Jakub Bogusz http://cyber.cs.net.pl/~qboosh/
More information about the pld-devel-pl
mailing list