File: libapache2-mod-wsgi.postrm

package info (click to toggle)
mod-wsgi 2.5-1~lenny1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 568 kB
  • ctags: 428
  • sloc: ansic: 7,690; sh: 71; makefile: 59
file content (15 lines) | stat: -rw-r--r-- 361 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh
set -e

if [ "$1" = "purge" -o "$1" = "remove" ]; then
    # remove pseudo conffile
    test -e /etc/apache2/mods-available/wsgi.load && rm -f /etc/apache2/mods-available/wsgi.load
fi
if [ "$1" = "purge" -a -e /etc/apache2/mods-available/wsgi.conf ]; then
    # remove conffile
    rm -f /etc/apache2/mods-available/wsgi.conf
fi

#DEBHELPER#

exit 0