[Pkg-sql-ledger-commit] r426 - ledger-smb/trunk/debian

pkg-sql-ledger-commit-owner at lists.alioth.debian.org pkg-sql-ledger-commit-owner at lists.alioth.debian.org
Tue Feb 14 18:11:37 UTC 2012


Author: jame-guest
Date: 2012-02-14 18:11:36 +0000 (Tue, 14 Feb 2012)
New Revision: 426

Modified:
   ledger-smb/trunk/debian/ledgersmb.postinst
Log:
Correct the file check for the Apache section in ledgersmb.postinst.

Modified: ledger-smb/trunk/debian/ledgersmb.postinst
===================================================================
--- ledger-smb/trunk/debian/ledgersmb.postinst	2012-02-14 18:00:05 UTC (rev 425)
+++ ledger-smb/trunk/debian/ledgersmb.postinst	2012-02-14 18:11:36 UTC (rev 426)
@@ -35,7 +35,7 @@
               a2enmod rewrite
         fi
         # Restart apache
-        if [ -e "/etc/init.d/apache2" ]; then
+        if [ -x "/etc/init.d/apache2" ]; then
           invoke-rc.d apache2 restart || true
         fi
       fi




More information about the Pkg-sql-ledger-commit mailing list