debian: new upstream release candidate
[git/debian.git] / debian / gitweb.prerm
blob34d82a90a8e7d85f80446fe922ed6db500dfe48a
1 #!/bin/sh
2 set -e
4 test "$1" = remove || test "$1" = deconfigure || exit 0
6 # This block does not run if Apache is removed before gitweb.
7 # In that case there is nothing we can do --- Apache needs to
8 # take responsibility for undoing what enconf did because
9 # disconf is not available for use by individual web apps.
10 if [ -e /usr/share/apache2/apache2-maintscript-helper ]
11 then
12 . /usr/share/apache2/apache2-maintscript-helper
13 apache2_invoke disconf gitweb || exit