debian: Release git 1:2.9.3-1
[git/debian.git] / debian / gitweb.postrm
blob461d966780263facbf6af5744c193401d15c7318
1 #!/bin/sh
2 set -e
4 dpkg-maintscript-helper mv_conffile \
5 /etc/apache2/conf.d/gitweb /etc/apache2/conf-available/gitweb.conf \
6 1:2.1.4-2~ -- "$@"
8 test "$1" = remove || test "$1" = purge || exit 0
10 # This should not be needed because prerm already disabled the
11 # configuration. Try again in case Apache was not installed at
12 # prerm time and has been reinstalled since then.
13 if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then
14 . /usr/share/apache2/apache2-maintscript-helper
15 apache2_invoke disconf gitweb || exit