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 for module in "${modules[@]}"; do
if [ "${module#-}" != "$module" ]; then if [ "${module#-}" != "$module" ]; then
module="${module#-}" module="${module#-}"
if a2dismod "$module"; then estep "Désactivation du module $module"
estep "Désactivation du module $module" a2dismod "$module" && modified=1
modified=1
fi
else else
module="${module#+}" module="${module#+}"
if a2enmod "$module"; then estep "Activation du module $module"
estep "Activation du module $module" a2enmod "$module" && modified=1
modified=1
fi
fi fi
done done
fi fi