[xml/sgml-commit] r1763 - in /packages/w3c-markup-validator/trunk/debian: postinst prerm
periapt-guest at users.alioth.debian.org
periapt-guest at users.alioth.debian.org
Fri Aug 20 07:38:50 UTC 2010
Author: periapt-guest
Date: Fri Aug 20 07:38:44 2010
New Revision: 1763
URL: http://svn.debian.org/wsvn/debian-xml-sgml/?sc=1&rev=1763
Log:
need to restart apache2, fix module paths
Modified:
packages/w3c-markup-validator/trunk/debian/postinst
packages/w3c-markup-validator/trunk/debian/prerm
Modified: packages/w3c-markup-validator/trunk/debian/postinst
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/w3c-markup-validator/trunk/debian/postinst?rev=1763&op=diff
==============================================================================
--- packages/w3c-markup-validator/trunk/debian/postinst (original)
+++ packages/w3c-markup-validator/trunk/debian/postinst Fri Aug 20 07:38:44 2010
@@ -45,11 +45,11 @@
if [ $server = "apache2" ]; then
- if [ ! -s /etc/$server/conf.d/mods-enabled/include ]; then
+ if [ ! -s /etc/$server/mods-enabled/include.load ]; then
a2enmod include
fi
- if [ ! -s /etc/$server/conf.d/mods-enabled/rewrite ]; then
+ if [ ! -s /etc/$server/mods-enabled/rewrite.load ]; then
a2enmod rewrite
fi
@@ -57,9 +57,9 @@
if [ -x "/etc/init.d/$server" ]; then
if [ -x /usr/sbin/invoke-rc.d ]; then
- invoke-rc.d $server stop || true
+ invoke-rc.d $server restart || true
else
- /etc/init.d/$server stop || true
+ /etc/init.d/$server restart || true
fi
fi
sleep 2
Modified: packages/w3c-markup-validator/trunk/debian/prerm
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/w3c-markup-validator/trunk/debian/prerm?rev=1763&op=diff
==============================================================================
--- packages/w3c-markup-validator/trunk/debian/prerm (original)
+++ packages/w3c-markup-validator/trunk/debian/prerm Fri Aug 20 07:38:44 2010
@@ -30,9 +30,9 @@
if [ -x "/etc/init.d/$server" ]; then
if [ -x /usr/sbin/invoke-rc.d ]; then
- invoke-rc.d $server stop || true
+ invoke-rc.d $server restart || true
else
- /etc/init.d/$server stop || true
+ /etc/init.d/$server restart || true
fi
fi
sleep 2
More information about the debian-xml-sgml-commit
mailing list