Hi, > + if ! a2query -qm include; then > + apache2_invoke enmod include > + fi
a2enmod is a no-op returning success (0) if the module was already enabled, so you might want to strip the a2query calls. Not sure whether this holds for the apache2_invoke wrapper as well, but I do not see a reason why it should behave differently. -nik -- PGP-Fingerprint: 3C9D 54A4 7575 C026 FB17 FD26 B79A 3C16 A0C4 F296 Dominik George · Hundeshagenstr. 26 · 53225 Bonn Mobile: +49-1520-1981389 · https://www.dominik-george.de/ Teckids e.V. · FrOSCon e.V. Fellowship of the FSFE · Piratenpartei Deutschland Opencaching Deutschland e.V. · Debian Maintainer LPIC-3 Linux Enterprise Professional (Security)
signature.asc
Description: PGP signature