File: apache-perl.postinst.diff

package info (click to toggle)
apache 1.3.34-4.1%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 4,824 kB
  • ctags: 90
  • sloc: sh: 1,273; makefile: 686; perl: 215
file content (16 lines) | stat: -rw-r--r-- 492 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- apache-perl.postinst.orig	2004-08-23 22:59:16.000000000 +0200
+++ apache-perl.postinst	2004-08-23 22:59:16.000000000 +0200
@@ -36,6 +36,13 @@
 
 /usr/sbin/apache-modconf apache-perl internal $HIDE
 
+if [ "$2" != "" ]; then
+    if dpkg --compare-versions $2 lt 1.3.29.0.1-2; then
+       echo "AddModule mod_perl.c" >> /etc/apache-perl/modules.conf
+       /usr/sbin/apache-modconf apache-perl internal quiet
+    fi
+fi
+
 if [ "$UPGRADE" != "true" ]; then
     add_webmaster_alias
 fi