[Debian-tex-commits] SVN tetex-base commit + diffs: r2037 - tetex-base/trunk/debian

Frank Küster frank at alioth.debian.org
Mon Dec 11 08:26:41 CET 2006


Author: frank
Date: 2006-12-11 08:26:41 +0100 (Mon, 11 Dec 2006)
New Revision: 2037

Modified:
   tetex-base/trunk/debian/tetex-doc.postinst
Log:
shorter version consistent with postrm


Modified: tetex-base/trunk/debian/tetex-doc.postinst
===================================================================
--- tetex-base/trunk/debian/tetex-doc.postinst	2006-12-11 07:24:26 UTC (rev 2036)
+++ tetex-base/trunk/debian/tetex-doc.postinst	2006-12-11 07:26:41 UTC (rev 2037)
@@ -6,8 +6,8 @@
     test -x "`which mktexlsr`" && mktexlsr || true
 # disable this for now    
     # index-tetexdoc
-    if test -e /etc/apache2/mods-enabled/php5.load ||
-      test -e /etc/apache2/mods-enabled/php4.load; then
+    APACHE_MODDIR=/etc/apache2/mods-enabled/
+    if [ -e $APACHE_MODDIR/php5.load ] || [ -e $APACHE_MODDIR/php4.load ]; then
       if apache2ctl configtest 2>/dev/null; then
 	invoke-rc.d apache2 force-reload || true
       else




More information about the Debian-tex-commits mailing list