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
/apache
2/apache2-maintscript-helper
]
12 .
/usr
/share
/apache
2/apache2-maintscript-helper
13 apache2_invoke disconf gitweb ||
exit