Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

check for conf and load file

  • Loading branch information...
commit 3f4693c505e0792a27cf10454b194dfca549bb9f 1 parent a7dccb1
Edmund Haselwanter authored August 04, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  apache2/templates/default/a2enmod.erb
2  apache2/templates/default/a2enmod.erb
@@ -18,7 +18,7 @@ if [ -x /usr/sbin/apache2 ]; then
18 18
         PREFORK=`/usr/sbin/apache2 -l | grep prefork || true`
19 19
 fi
20 20
 
21  
-if [ -e $SYSCONFDIR/mods-enabled/$MODNAME.load ]; then
  21
+if [ -e $SYSCONFDIR/mods-enabled/$MODNAME.load && -e $SYSCONFDIR/mods-enabled/$MODNAME.conf ]; then
22 22
         echo "This module is already enabled!"
23 23
         exit 0 
24 24
 fi

0 notes on commit 3f4693c

Please sign in to comment.
Something went wrong with that request. Please try again.