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

« back to all changes in this revision

Viewing changes to debian/libapache2-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 [ -z "$2" ]; then
6
 
            # Enable on new installs only
7
 
            a2enmod dav_svn
8
 
        fi
9
 
        if [ -f '/etc/apache2/#enable_authz_svn#' ]; then
10
 
            # Enable on upgrades where this used to be implied by dav_svn.load
11
 
            a2enmod authz_svn
12
 
            rm -f '/etc/apache2/#enable_authz_svn#'
13
 
        fi
14
 
        invoke-rc.d apache2 restart || true
15
 
        ;;
16
 
esac
17
 
 
18
 
#DEBHELPER#