Afficher systématiquement l'action

This commit is contained in:
Jephte CLAIN 2014-12-02 17:40:28 +04:00
parent 10f3f39fc8
commit 60af415992
2 changed files with 5 additions and 9 deletions

View File

@ -1 +1 @@
007006000
007007000

View File

@ -363,16 +363,12 @@ s#@@ca@@#$APACHESSLCERTSDIR/$(basename "$ca")#g
for module in "${modules[@]}"; do
if [ "${module#-}" != "$module" ]; then
module="${module#-}"
if a2dismod "$module"; then
estep "Désactivation du module $module"
modified=1
fi
estep "Désactivation du module $module"
a2dismod "$module" && modified=1
else
module="${module#+}"
if a2enmod "$module"; then
estep "Activation du module $module"
modified=1
fi
estep "Activation du module $module"
a2enmod "$module" && modified=1
fi
done
fi