File: libapache2-mod-tile.prerm

package info (click to toggle)
libapache2-mod-tile 0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,288 kB
  • sloc: ansic: 7,809; cpp: 6,692; sh: 853; python: 412; makefile: 69
file content (17 lines) | stat: -rw-r--r-- 342 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e

if [ "$1" = remove ]; then
    if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then
        . /usr/share/apache2/apache2-maintscript-helper
        apache2_invoke dismod tile
    fi
fi

# automatically remove munin plugins
if [ -d /etc/munin/plugins ]; then
    rm -f /etc/munin/plugins/mod_tile* 
fi

#DEBHELPER#