6 test "$1" = remove ||
test "$1" = deconfigure ||
exit 0
8 # This block does not run if Apache is removed before gitweb.
9 # In that case there is nothing we can do --- Apache needs to
10 # take responsibility for undoing what enconf did because
11 # disconf is not available for use by individual web apps.
12 if [ -e /usr
/share
/apache
2/apache2-maintscript-helper
]
14 .
/usr
/share
/apache
2/apache2-maintscript-helper
15 apache2_invoke disconf gitweb ||
exit