~ubuntu-branches/debian/sid/subversion/sid

« back to all changes in this revision

Viewing changes to debian/libapache2-mod-svn.postinst

  • Committer: Package Import Robot
  • Author(s): James McCoy
  • Date: 2013-10-01 00:28:55 UTC
  • Revision ID: package-import@ubuntu.com-20131001002855-brwfv5nt119x112g
Tags: 1.7.9-1+nmu6
Add Breaks/Replaces: libapache2-svn to libapach2-mod-svn.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
 
 
3
case "$1" in
 
4
    configure)
 
5
        if [ -f '/etc/apache2/#enable_authz_svn#' ]; then
 
6
            # Enable on upgrades where this used to be implied by dav_svn.load
 
7
            if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then
 
8
                . /usr/share/apache2/apache2-maintscript-helper
 
9
                apache2_invoke enmod authz_svn
 
10
                rm -f '/etc/apache2/#enable_authz_svn#'
 
11
            fi
 
12
        fi
 
13
        ;;
 
14
esac
 
15
 
 
16
#DEBHELPER#