@@ -, +, @@ - Install current koha-common packages on a fresh setup. Make sure you have mod_rewrite $ a2dismod rewrite ...fail! - Apply the patch, build your packages, repeat: --- debian/koha-common.postinst | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) --- a/debian/koha-common.postinst +++ a/debian/koha-common.postinst @@ -4,6 +4,17 @@ set -e . /usr/share/debconf/confmodule +if apachectl -M 2> /dev/null | \ + grep -v -q "rewrite_module" ; then + + # mod_rewrite not enabled + a2enmod rewrite > /dev/null 2>&1 && + echo "mod_rewrite enabled" + # reload apache config + service apache2 reload + +fi + conf=/etc/mysql/koha-common.cnf if [ ! -e "$conf" ] && [ ! -L "$conf" ] then --